[Reportbug-commits] [SCM] Reportbug - reports bugs in the Debian distribution branch, master, updated. 4.5-10-g057aa80

Sandro Tosi morph at debian.org
Mon Jul 20 13:53:45 UTC 2009


The following commit has been merged in the master branch:
commit 057aa80ef0d48a549c24fd78d88d5764f9e28f18
Author: Sandro Tosi <morph at debian.org>
Date:   Mon Jul 20 15:51:22 2009 +0200

    do not exit if no subject is entered for additional information, but keep asking it; thanks to Carl Chenet for the report and patch: Closes: #537624

diff --git a/bin/reportbug b/bin/reportbug
index 1207408..6c0e2d9 100755
--- a/bin/reportbug
+++ b/bin/reportbug
@@ -1591,10 +1591,10 @@ For more details, please see: http://www.debian.org/devel/wnpp/''')
             while not subject_ok:
                 subject = ui.get_string(
                     'Please provide a subject for your response.', force_prompt=True)
-                if not subject:
-                    ewrite("Providing a subject is mandatory.\n")
-                else:
+                if subject:
                     subject_ok = True
+                else:
+                    ewrite("Providing a subject is mandatory.\n")
 
             # Check to make sure the bug still exists to avoid auto-reopens
             if subject and pkgversion:
diff --git a/debian/changelog b/debian/changelog
index 7f0b74b..978ee2b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -11,10 +11,13 @@ reportbug (4.6) UNRELEASED; urgency=low
   * bin/reportbug
     - allow ENTER to exit from file detaching menu (and enforced file checking);
       thanks to Rodrigo Campos for report and (partial) patch; Closes: 535789
-    - do not exit if no subject is entered, keep asking it; thanks Olaf van der
-      Spek for the report and Carl Chenet for the patch: Closes: #537449
+    - do not exit if no subject is entered for new bugs, but keep asking it;
+      thanks to Olaf van der Spek for the report and Carl Chenet for the patch;
+      Closes: #537449
+    - do not exit if no subject is entered for additional information, but keep
+      asking it; thanks to Carl Chenet for the report and patch: Closes: #537624
 
- -- Sandro Tosi <morph at debian.org>  Mon, 20 Jul 2009 15:27:00 +0200
+ -- Sandro Tosi <morph at debian.org>  Mon, 20 Jul 2009 15:45:40 +0200
 
 reportbug (4.5) unstable; urgency=low
 

-- 
Reportbug - reports bugs in the Debian distribution



More information about the Reportbug-commits mailing list