[Reproducible-builds] [dh-python] 80/183: dh_python2: cosmetics

Jérémy Bobbio lunar at moszumanska.debian.org
Fri Sep 19 15:30:23 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 1c6231c76e2212ab693a93dc9ecf8021a12e4905
Author: Piotr Ożarowski <piotr at debian.org>
Date:   Thu Aug 15 22:38:25 2013 +0200

    dh_python2: cosmetics
---
 dh_python2 | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/dh_python2 b/dh_python2
index ee7f1ed..349ce46 100755
--- a/dh_python2
+++ b/dh_python2
@@ -458,13 +458,11 @@ def main():
                 # at least one extension's version not detected
                 if options.vrange and '-' not in str(options.vrange):
                     ver = str(options.vrange)
-                    dependencies.depend("python%s" % ver)
-                    args += " -V %s" % ver
                 else:  # try shebang or default Python version
                     ver = (list(i.version for i in details.get('shebangs', [])
                                 if i.version) or [None])[0] or DEFAULT
-                    dependencies.depend("python%s" % ver)
-                    args += " -V %s" % ver
+                dependencies.depend("python%s" % ver)
+                args += " -V %s" % ver
             else:
                 version = ext_for.pop()
                 args += " -V %s" % version

-- 
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