X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=daklib%2Fqueue.py;h=e81614c3e742e89a2b1b8c6538e8f65a712bcbe5;hb=b9c06dc38cfbd46159c90d98dc003498064dcbcd;hp=6f01ba6cbb0ea22472b2213ab35a9270008795ba;hpb=ef9ed7cc448cf38897ba172c59aaeef627c4be55;p=dak.git diff --git a/daklib/queue.py b/daklib/queue.py index 6f01ba6c..e81614c3 100644 --- a/daklib/queue.py +++ b/daklib/queue.py @@ -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