From 90905dcc11a60a83c8a904258bad014548c4d608 Mon Sep 17 00:00:00 2001 From: Joerg Jaspert Date: Sat, 26 Apr 2008 01:55:40 +0200 Subject: [PATCH] Call end() and display what was done whenever we leave by pressing Q --- dak/process_new.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dak/process_new.py b/dak/process_new.py index e3786cb9..54c2b487 100755 --- a/dak/process_new.py +++ b/dak/process_new.py @@ -116,6 +116,7 @@ def recheck(): elif answer == 'S': return 0 elif answer == 'Q': + end() sys.exit(0) return 1 @@ -466,6 +467,7 @@ def edit_note(note): if answer == 'A': return elif answer == 'Q': + end() sys.exit(0) Upload.pkg.changes["process-new note"] = note Upload.dump_vars(Cnf["Dir::Queue::New"]) @@ -567,6 +569,7 @@ def prod_maintainer (): if answer == 'A': return elif answer == 'Q': + end() sys.exit(0) # Otherwise, do the proding... user_email_address = daklib.utils.whoami() + " <%s>" % ( @@ -672,6 +675,7 @@ def do_new(): elif answer == 'S': done = 1 elif answer == 'Q': + end() sys.exit(0) ################################################################################ @@ -768,6 +772,7 @@ def do_byhand(): elif answer == 'S': done = 1 elif answer == 'Q': + end() sys.exit(0) ################################################################################ -- 2.39.5