]> err.no Git - dak/commitdiff
p-n
authorJoerg Jaspert <joerg@debian.org>
Sat, 7 Nov 2009 23:56:35 +0000 (00:56 +0100)
committerJoerg Jaspert <joerg@debian.org>
Sat, 7 Nov 2009 23:56:35 +0000 (00:56 +0100)
remove .dak file code

Signed-off-by: Joerg Jaspert <joerg@debian.org>
dak/process_new.py

index e052af49a1909ee1d7f249251dffab4afa9d3be2..40497fed18b4c574c0010c569aac1d555131e32a 100755 (executable)
@@ -95,7 +95,6 @@ def recheck(upload, session):
 
         if answer == 'R':
             upload.do_reject(manual=0, reject_message='\n'.join(upload.rejects))
-            os.unlink(upload.pkg.changes_file[:-8]+".dak")
             return 0
         elif answer == 'S':
             return 0
@@ -680,7 +679,6 @@ def do_new(upload, session):
                                        note=get_new_comments(changes.get("source", ""), session=session))
             if not aborted:
                 Logger.log(["NEW REJECT: %s" % (upload.pkg.changes_file)])
-                os.unlink(upload.pkg.changes_file[:-8]+".dak")
                 done = 1
         elif answer == 'N':
             edit_note(get_new_comments(changes.get("source", ""), session=session),
@@ -769,7 +767,6 @@ def do_byhand(upload, session):
         elif answer == 'M':
             Logger.log(["BYHAND REJECT: %s" % (upload.pkg.changes_file)])
             upload.do_reject(manual=1, reject_message=Options["Manual-Reject"])
-            os.unlink(upload.pkg.changes_file[:-8]+".dak")
             done = 1
         elif answer == 'S':
             done = 1
@@ -822,7 +819,6 @@ def _accept(upload):
         return
     (summary, short_summary) = upload.build_summaries()
     upload.accept(summary, short_summary, targetqueue)
-    os.unlink(upload.pkg.changes_file[:-8]+".dak")
 
 def do_accept(upload):
     print "ACCEPT"