[Reportbug-commits] [SCM] Reportbug - reports bugs in the Debian distribution branch, master, updated. 4.9-67-g1b2f03e

Sandro Tosi morph at debian.org
Mon Mar 8 20:04:13 UTC 2010


The following commit has been merged in the master branch:
commit 1b2f03ea73887f397a7cd0812e61aa15e7399961
Author: Sandro Tosi <morph at debian.org>
Date:   Mon Mar 8 20:34:41 2010 +0100

    in the last menu, if cancelling from selecting a MUA to edit the report, just go back to the menu and don't crash; thanks to Elie Roux for the report; Closes: #562853

diff --git a/bin/reportbug b/bin/reportbug
index 3b3f745..d0f83f5 100755
--- a/bin/reportbug
+++ b/bin/reportbug
@@ -278,7 +278,7 @@ def handle_editing(filename, dmessage, options, sendto, attachments, package,
             mailers.sort()
             mailer = ui.menu('Choose a mailer for your report', mailers,
                              'Select mailer: ', default='', empty_ok=True)
-            if mailer:
+            if mailer and mailer != -1:
                 if not utils.mua_exists(utils.MUA[mailer]):
                     ewrite("Selected mail user agent cannot be found.\n")
                 else:
diff --git a/debian/changelog b/debian/changelog
index cc0deac..a5dc2a0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -35,8 +35,11 @@ reportbug (4.10.3) UNRELEASED; urgency=low
   * bin/reportbug
     - fix spelling error when alerting of attachments drop when spawning a MUA;
       thanks to gregor herrmann for the report and patch; Closes: #572894
+    - in the last menu, if cancelling from selecting a MUA to edit the report,
+      just go back to the menu and don't crash; thanks to Elie Roux for the
+      report; Closes: #562853
 
- -- Sandro Tosi <morph at debian.org>  Mon, 08 Mar 2010 19:24:59 +0100
+ -- Sandro Tosi <morph at debian.org>  Mon, 08 Mar 2010 20:33:03 +0100
 
 reportbug (4.10.2) unstable; urgency=low
 

-- 
Reportbug - reports bugs in the Debian distribution



More information about the Reportbug-commits mailing list