[Reproducible-builds] [dh-python] 59/183: pybuild: fix getting Python 3.X versions (if versions were not specified)

Jérémy Bobbio lunar at moszumanska.debian.org
Fri Sep 19 15:30:20 UTC 2014


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

lunar pushed a commit to branch pu/reproducible_builds
in repository dh-python.

commit a3bf6a2433b74000060cafe393bbf9caf9f2ae41
Author: Piotr Ożarowski <piotr at debian.org>
Date:   Wed Aug 7 17:43:21 2013 +0200

    pybuild: fix getting Python 3.X versions (if versions were not specified)
---
 pybuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/pybuild b/pybuild
index c395989..be6a6b9 100755
--- a/pybuild
+++ b/pybuild
@@ -91,8 +91,8 @@ def main(cfg):
     # reversed so that default Python version will be last
     versions = cfg.versions
     if not versions:
-        versions = list(reversed(get_requested_versions('cpython3',
-                                                        available=True)))
+        log.debug('defaulting to all supported Python 3.X versions')
+        versions = list(get_requested_versions('cpython3', available=True))
     versions = [Version(v) for v in versions]
 
     def get_option(name, interpreter=None, version=None, default=None):

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



More information about the Reproducible-builds mailing list