]> err.no Git - dak/commitdiff
Call end() and display what was done whenever we leave by pressing Q
authorJoerg Jaspert <joerg@debian.org>
Fri, 25 Apr 2008 23:55:40 +0000 (01:55 +0200)
committerJoerg Jaspert <joerg@debian.org>
Fri, 25 Apr 2008 23:55:40 +0000 (01:55 +0200)
dak/process_new.py

index e3786cb950fd54c21299a48f046af90565ab8be0..54c2b48704c8275ac7a7cde283eedafaac3ef159 100755 (executable)
@@ -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)
 
 ################################################################################