From: Joerg Jaspert <joerg@debian.org>
Date: Wed, 15 Apr 2009 21:25:15 +0000 (+0200)
Subject: And this should get rid of suddenly empty prod editors. I hope.
X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=5060396984d61d74c89b73e30604f3fcb5978201;p=dak.git

And this should get rid of suddenly empty prod editors. I hope.

Signed-off-by: Joerg Jaspert <joerg@debian.org>
---

diff --git a/dak/process_new.py b/dak/process_new.py
index 53fed5f5..02f1b8bc 100755
--- a/dak/process_new.py
+++ b/dak/process_new.py
@@ -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"])