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

Sandro Tosi morph at debian.org
Tue Dec 29 23:46:31 UTC 2009


The following commit has been merged in the master branch:
commit b422eaf00b0e1ba62e0167368fe58d2a5f4531f6
Author: Sandro Tosi <morph at debian.org>
Date:   Wed Dec 30 00:45:09 2009 +0100

    retrieve the package information from the report using doing a lower-case check; thanks to Dan Greene for the report; Closes: #562912

diff --git a/debian/changelog b/debian/changelog
index 4e95fce..dc7ced3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -10,11 +10,13 @@ reportbug (4.10~WIP) UNRELEASED; urgency=low
     - if help option is selected in debconf values inclusion menu, the second
       message doesn't contain newline, it's fixed now; thanks to Miroslaw
       Zalewski for the report; Closes: #560302
+    - retrieve the package information from the report using doing a lower-case
+      check; thanks to Dan Greene for the report; Closes: #562912
   * share/presubj
     - refer to reportbug.d.o instead of bugs.d.o as SMTP server; thanks to Karl
       Goetz for the report and patch; Closes: #561802
 
- -- Sandro Tosi <morph at debian.org>  Sun, 20 Dec 2009 13:33:28 +0100
+ -- Sandro Tosi <morph at debian.org>  Wed, 30 Dec 2009 00:43:31 +0100
 
 reportbug (4.9) unstable; urgency=low
 
diff --git a/reportbug/ui/text_ui.py b/reportbug/ui/text_ui.py
index eb52ee7..fac76bc 100644
--- a/reportbug/ui/text_ui.py
+++ b/reportbug/ui/text_ui.py
@@ -406,7 +406,7 @@ def show_report(number, system, mirrors,
         raise NoBugs
 
     # extract the package name
-    foundpackage = info[1][0].split('Package: ')[1].split('\n')[0]
+    foundpackage = info[1][0].lower().split('package: ')[1].split('\n')[0]
 
     (title, messages) = info
     # save report subject in main

-- 
Reportbug - reports bugs in the Debian distribution



More information about the Reportbug-commits mailing list