]> git.decadent.org.uk Git - dak.git/blobdiff - daklib/queue.py
end() is not defined in daklib/queue.py
[dak.git] / daklib / queue.py
index 6f01ba6cbb0ea22472b2213ab35a9270008795ba..e81614c3e742e89a2b1b8c6538e8f65a712bcbe5 100644 (file)
@@ -132,8 +132,7 @@ def prod_maintainer(notes, upload):
     if answer == 'A':
         return
     elif answer == 'Q':
-        end()
-        sys.exit(0)
+        return 0
     # Otherwise, do the proding...
     user_email_address = utils.whoami() + " <%s>" % (
         cnf["Dinstall::MyAdminAddress"])
@@ -186,8 +185,7 @@ def edit_note(note, upload, session, trainee=False):
     if answer == 'A':
         return
     elif answer == 'Q':
-        end()
-        sys.exit(0)
+        return 0
 
     comment = NewComment()
     comment.package = upload.changes.source