]> git.decadent.org.uk Git - dak.git/commitdiff
And this should get rid of suddenly empty prod editors. I hope.
authorJoerg Jaspert <joerg@debian.org>
Wed, 15 Apr 2009 21:25:15 +0000 (23:25 +0200)
committerJoerg Jaspert <joerg@debian.org>
Wed, 15 Apr 2009 21:25:15 +0000 (23:25 +0200)
Signed-off-by: Joerg Jaspert <joerg@debian.org>
dak/process_new.py

index 53fed5f50acc0634c2569865ea315405515ad08f..02f1b8bcd7e73145e13ccf846c274e981fcdbb03 100755 (executable)
@@ -594,12 +594,12 @@ def prod_maintainer (note):
             if answer == "":
                 answer = m.group(1)
             answer = answer[:1].upper()
-        os.unlink(temp_filename)
-        if answer == 'A':
-            return
-        elif answer == 'Q':
-            end()
-            sys.exit(0)
+    os.unlink(temp_filename)
+    if answer == 'A':
+        return
+    elif answer == 'Q':
+        end()
+        sys.exit(0)
     # Otherwise, do the proding...
     user_email_address = utils.whoami() + " <%s>" % (
         Cnf["Dinstall::MyAdminAddress"])