[Reportbug-commits] [SCM] Reportbug - reports bugs in the Debian distribution branch, master, updated. 6.0-121-g391a392

Sandro Tosi morph at debian.org
Sat Aug 18 20:50:27 UTC 2012


The following commit has been merged in the master branch:
commit 6a1560159823c745ebac6318c29fe40a2b9db408
Author: Sandro Tosi <morph at debian.org>
Date:   Sat Aug 18 21:34:04 2012 +0200

    in Urwid UI, when cancelling on the list of packages matching the input package, don't present '-1' as resulting package, but that nothing was selected; thanks to Valentin Lorentz for the report; Closes: #667663

diff --git a/bin/reportbug b/bin/reportbug
index ca0b501..774eaad 100755
--- a/bin/reportbug
+++ b/bin/reportbug
@@ -406,6 +406,9 @@ def find_package_for(filename, notatty=False, pathonly=False):
 
         package = ui.menu("Multiple packages match: ", packs, 'Select one '
                           'of these packages: ', any_ok=True)
+        # for urwid, when pressing 'Cancel' in the menu
+        if package == -1:
+            package = None
         return (filename, package)
     else:
         package = packages.keys()[0]
diff --git a/debian/changelog b/debian/changelog
index c92b4a8..2aece80 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -11,8 +11,12 @@ reportbug (6.4.3) UNRELEASED; urgency=low
     - fix a crash when selecting 'Quit' in the Urwid UI window presenting the
       list of bugs already filed; thanks to Ryan Kavanagh for the report;
       Closes: #668395
+  * bin/reportbug
+    - in Urwid UI, when cancelling on the list of packages matching the input
+      package, don't present '-1' as resulting package, but that nothing was
+      selected; thanks to Valentin Lorentz for the report; Closes: #667663
 
- -- Sandro Tosi <morph at debian.org>  Sat, 18 Aug 2012 18:28:22 +0200
+ -- Sandro Tosi <morph at debian.org>  Sat, 18 Aug 2012 21:27:38 +0200
 
 reportbug (6.4.2) unstable; urgency=low
 

-- 
Reportbug - reports bugs in the Debian distribution



More information about the Reportbug-commits mailing list