From: Joerg Jaspert Date: Fri, 25 Apr 2008 23:55:40 +0000 (+0200) Subject: Call end() and display what was done whenever we leave by pressing Q X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=90905dcc11a60a83c8a904258bad014548c4d608;p=dak.git Call end() and display what was done whenever we leave by pressing Q --- 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) ################################################################################