[Reportbug-commits] [reportbug] 01/02: when checking the version for a PU upload, pass a list of distributions; thanks to Ivo De Decker for spotting; Addresses: #774443

Sandro Tosi morph at moszumanska.debian.org
Sun Jan 4 10:46:14 UTC 2015


This is an automated email from the git hooks/post-receive script.

morph pushed a commit to branch master
in repository reportbug.

commit 92a62f070c0e5429bacab7d02d35ed87ee5f1831
Author: Sandro Tosi <morph at debian.org>
Date:   Sun Jan 4 10:37:47 2015 +0000

    when checking the version for a PU upload, pass a list of distributions; thanks to Ivo De Decker for spotting; Addresses: #774443
---
 debian/changelog     | 8 ++++++++
 reportbug/debbugs.py | 2 +-
 2 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index d32c17e..f070b23 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+reportbug (6.6.3) UNRELEASED; urgency=medium
+
+  * reportbug/debbugs.py
+    - when checking the version for a PU upload, pass a list of distributions;
+      thanks to Ivo De Decker for spotting; Addresses: #774443
+
+ -- Sandro Tosi <morph at debian.org>  Sun, 04 Jan 2015 10:36:43 +0000
+
 reportbug (6.6.2) unstable; urgency=medium
 
   * reportbug/debbugs.py
diff --git a/reportbug/debbugs.py b/reportbug/debbugs.py
index 3707b4d..36bef9b 100644
--- a/reportbug/debbugs.py
+++ b/reportbug/debbugs.py
@@ -449,7 +449,7 @@ def handle_debian_release(package, bts, ui, fromaddr, timeout, online=True, http
         # FIXME: pu/rm should lookup the version elsewhere
         version = info and info[0]
         if online and tag.endswith('-pu'):
-            version = checkversions.get_versions_available(package, timeout, tag[:-3]).values()[0]
+            version = checkversions.get_versions_available(package, timeout, (tag[:-3],)).values()[0]
         if version:
             cont = ui.select_options(
                 "Latest version seems to be %s, is this the proper one ?" % (version),

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reportbug/reportbug.git



More information about the Reportbug-commits mailing list