[Reproducible-builds] [dh-python] 81/183: log version if verbose mode is enabled

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 f4c87e741468af44ef9835e69d4658806c752864
Author: Piotr Ożarowski <piotr at debian.org>
Date:   Thu Aug 15 23:55:18 2013 +0200

    log version if verbose mode is enabled
---
 dh_python2 | 2 +-
 dh_python3 | 1 +
 pybuild    | 1 +
 3 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/dh_python2 b/dh_python2
index 349ce46..38fc10f 100755
--- a/dh_python2
+++ b/dh_python2
@@ -369,7 +369,7 @@ def main():
 
     if options.verbose or os.environ.get('DH_VERBOSE') == '1':
         log.setLevel(logging.DEBUG)
-        log.debug('version: %s', parser.get_version().split(' ', 1)[-1])
+        log.debug('version: DEVELV')
         log.debug('argv: %s', sys.argv)
         log.debug('options: %s', options)
         log.debug('args: %s', args)
diff --git a/dh_python3 b/dh_python3
index 8236300..68cdc6c 100755
--- a/dh_python3
+++ b/dh_python3
@@ -139,6 +139,7 @@ def main():
 
     if options.verbose or os.environ.get('DH_VERBOSE') == '1':
         log.setLevel(logging.DEBUG)
+        log.debug('version: DEVELV')
         log.debug('argv: %s', sys.argv)
         log.debug('options: %s', options)
         log.debug('args: %s', args)
diff --git a/pybuild b/pybuild
index 52ba2a8..27738d9 100755
--- a/pybuild
+++ b/pybuild
@@ -417,6 +417,7 @@ if __name__ == '__main__':
         log.setLevel(logging.DEBUG)
     else:
         log.setLevel(logging.INFO)
+    log.debug('version: DEVELV')
     log.debug(sys.argv)
     main(cfg)
     # let dh/cdbs clean the .pybuild dir

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