[Reportbug-commits] [SCM] Reportbug - reports bugs in the Debian distribution branch, master, updated. 6.0-93-gf307bd0
Sandro Tosi
morph at debian.org
Sun Dec 25 14:50:16 UTC 2011
The following commit has been merged in the master branch:
commit f307bd029bdccd4d83bb76be37845ef352c507e2
Author: Sandro Tosi <morph at debian.org>
Date: Sun Dec 25 15:50:08 2011 +0100
match version on the precise architecture, not just check string inclusiong; thanks to Nelson de Oliveira for the report; Closes: #650651
Just checking that the architecture (as string) is included in the list of
archs a given package is available is not enough (f.e. because 'amd64' is
contained in 'kfreebsd-amd64') so we split the archs list on ',' and do an item
inclusion check.
diff --git a/debian/changelog b/debian/changelog
index 1f7dcaa..3775039 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+reportbug (6.3.2) UNRELEASED; urgency=low
+
+ * reportbug/checkversions.py
+ - match version on the precise architecture, not just check string
+ inclusiong; thanks to Nelson de Oliveira for the report; Closes: #650651
+
+ -- Sandro Tosi <morph at debian.org> Sun, 25 Dec 2011 15:47:33 +0100
+
reportbug (6.3.1) unstable; urgency=low
* bin/reportbug
diff --git a/reportbug/checkversions.py b/reportbug/checkversions.py
index d3ee949..c3c2907 100644
--- a/reportbug/checkversions.py
+++ b/reportbug/checkversions.py
@@ -130,7 +130,7 @@ def get_versions_available(package, timeout, dists=None, http_proxy=None, arch='
if dist in dists:
# select only those lines that refers to source pkg
# or to binary packages available on the current arch
- if 'source' in l[3] or arch in l[3]:
+ if 'source' in l[3].split(',') or arch in l[3].split(','):
versions[dist] = l[1]
return versions
--
Reportbug - reports bugs in the Debian distribution
More information about the Reportbug-commits
mailing list