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

Sandro Tosi morph at debian.org
Wed May 25 22:40:01 UTC 2011


The following commit has been merged in the master branch:
commit 035627ce94a49d952c8b8869d9e3493245fe44c3
Author: Sandro Tosi <morph at debian.org>
Date:   Thu May 26 00:39:51 2011 +0200

    don't try to convert the package to a source one if we are in 'override' selection of 'ftp.debian.org'; thanks to Luk Claes for the report; Closes: #620849

diff --git a/debian/changelog b/debian/changelog
index 36ec3ae..587010e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
+reportbug (5.1.2) UNRELEASED; urgency=low
+
+  * reportbug/debianbts.py
+    - don't try to convert the package to a source one if we are in 'override'
+      selection of 'ftp.debian.org'; thanks to Luk Claes for the report;
+      Closes: #620849
+
+ -- Sandro Tosi <morph at debian.org>  Wed, 11 May 2011 22:56:39 +0200
+
 reportbug (5.1.1) unstable; urgency=low
 
   * reportbug/ui/text_ui.py
diff --git a/reportbug/debianbts.py b/reportbug/debianbts.py
index 8ba4723..d97aa1b 100644
--- a/reportbug/debianbts.py
+++ b/reportbug/debianbts.py
@@ -260,7 +260,9 @@ def handle_debian_ftp(package, bts, ui, fromaddr, timeout, online=True, http_pro
             if cont == 'n':
                 sys.exit(1)
         else:
-            package = info[12] or package
+            # don't try to convert it to source if it's an 'override'
+            if tag != 'override':
+                package = info[12] or package
             # get package section and priority, for override
             section, priority = info[16], info[10]
 

-- 
Reportbug - reports bugs in the Debian distribution



More information about the Reportbug-commits mailing list