From 960d55b823f504336949d3b54c8b400d564ec4d2 Mon Sep 17 00:00:00 2001 From: Joerg Jaspert Date: Mon, 23 Nov 2009 00:08:32 +0100 Subject: [PATCH] p-n only remove known changes if reject isnt aborted Signed-off-by: Joerg Jaspert --- dak/process_new.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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': -- 2.39.5