[Piuparts-commits] [piuparts] 01/08: p-a: use debianbts syntax that is compatible with both jessie and stetch

Holger Levsen holger at layer-acht.org
Tue Jan 24 10:45:10 UTC 2017


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

holger pushed a commit to branch develop
in repository piuparts.

commit b6a208b648528d5580c5c66970ef2b133c2f567b
Author: Andreas Beckmann <anbe at debian.org>
Date:   Tue Jan 24 04:55:10 2017 +0100

    p-a: use debianbts syntax that is compatible with both jessie and stetch
    
    Signed-off-by: Andreas Beckmann <anbe at debian.org>
    Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
 debian/changelog    | 2 ++
 piuparts-analyze.py | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index c68ee3e..ec747b0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -15,6 +15,8 @@ piuparts (0.75) UNRELEASED; urgency=medium
     - Add new suite: stretch-security.
     - Add new suite: stretch-pu (test packages in stretch-proposed-updates).
     - Add new suite: stretch2proposed.
+  * piuparts-analyze.py:
+    - Adjust debianbts syntax to be compatible with both jessie and stretch.
   * Add/adjust some exceptions for ancient packages.
   * scripts/pre_install_extras: Add examples how to preseed license acceptance
     for non-free and downloader packages.
diff --git a/piuparts-analyze.py b/piuparts-analyze.py
index e0e6147..baee354 100644
--- a/piuparts-analyze.py
+++ b/piuparts-analyze.py
@@ -131,7 +131,7 @@ def get_bug_versions(bug):
     Newest versions are returned first."""
     # debianbts returns it in the format package/1.2.3 or 1.2.3 which will become 1.2.3
     versions = []
-    for found_version in debianbts.get_status((bug,))[0].found_versions:
+    for found_version in debianbts.get_status(bug)[0].found_versions:
         v = found_version.rsplit('/', 1)[-1]
         if v == "None":
             # only allow the distro-qualified "$distro/None" version

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



More information about the Piuparts-commits mailing list