From: Joerg Jaspert Date: Sun, 22 Nov 2009 23:08:32 +0000 (+0100) Subject: p-n X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=960d55b823f504336949d3b54c8b400d564ec4d2;p=dak p-n only remove known changes if reject isnt aborted Signed-off-by: Joerg Jaspert --- diff --git a/dak/process_new.py b/dak/process_new.py index 9f7694d8..6bdd301f 100755 --- a/dak/process_new.py +++ b/dak/process_new.py @@ -675,11 +675,11 @@ def do_new(upload, session): elif answer == 'E' and not Options["Trainee"]: new = edit_overrides (new, upload, session) elif answer == 'M' and not Options["Trainee"]: - upload.pkg.remove_known_changes() aborted = upload.do_reject(manual=1, reject_message=Options["Manual-Reject"], note=get_new_comments(changes.get("source", ""), session=session)) if not aborted: + upload.pkg.remove_known_changes() Logger.log(["NEW REJECT: %s" % (upload.pkg.changes_file)]) done = 1 elif answer == 'N':