From: Joerg Jaspert Date: Sat, 7 Nov 2009 23:56:35 +0000 (+0100) Subject: p-n X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=793845c3084f062381e8b5cabb37738ce1961ae1;p=dak.git p-n remove .dak file code Signed-off-by: Joerg Jaspert --- diff --git a/dak/process_new.py b/dak/process_new.py index e052af49..40497fed 100755 --- a/dak/process_new.py +++ b/dak/process_new.py @@ -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"