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

Sandro Tosi morph at debian.org
Sat Aug 27 19:03:28 UTC 2011


The following commit has been merged in the master branch:
commit d01940bf2709d8170406fa573effc32cb3c70077
Author: Sandro Tosi <morph at debian.org>
Date:   Sat Aug 27 17:00:53 2011 +0200

    fix p.d.o parsing, it wasn't able to get new versions (due to changed format); thanks to Vincent Lefevre for the report; Closes: #630586

diff --git a/debian/changelog b/debian/changelog
index 1cc44ca..59ac693 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -12,6 +12,8 @@ reportbug (6.2) UNRELEASED; urgency=low
   * reportbug/checkversions.py
     - ignore if we can't compare the version of a currently installed package;
       thanks to Josh Triplett for the report; Closes: #638575
+    - fix p.d.o parsing, it wasn't able to get new versions (due to changed
+      format); thanks to Vincent Lefevre for the report; Closes: #630586
   * bin/reportbug
     - when using --src don't present the menu with possible binary packages (and
       also try to be smart and infer the version from the bin pkgs list); thanks
@@ -37,7 +39,7 @@ reportbug (6.2) UNRELEASED; urgency=low
     to show the latest bugs first; thanks to Marcelo Magallon for the bug report
     and the idea; Closes: #66917
 
- -- Sandro Tosi <morph at debian.org>  Sat, 27 Aug 2011 13:56:19 +0200
+ -- Sandro Tosi <morph at debian.org>  Sat, 27 Aug 2011 16:59:21 +0200
 
 reportbug (6.1) unstable; urgency=low
 
diff --git a/reportbug/checkversions.py b/reportbug/checkversions.py
index 61cfc20..606e33a 100644
--- a/reportbug/checkversions.py
+++ b/reportbug/checkversions.py
@@ -169,8 +169,9 @@ def get_versions_available(package, timeout, dists=None, http_proxy=None, arch='
 
     versions = {}
     for dist in dists:
-        if dist in parser.versions:
-            versions[dist] = parser.versions[dist]
+        for version in parser.versions.keys():
+            if dist in version:
+                versions[dist] = parser.versions[version]
     del parser
     del page
 

-- 
Reportbug - reports bugs in the Debian distribution



More information about the Reportbug-commits mailing list