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 72fc065cd4b2b8b5edc00549ef36dac3060ad745
Author: Piotr Ożarowski <pi...@debian.org>
Date:   Sun May 11 20:51:16 2014 +0200

    Show fix_shebang's error messages only in debug mode, closes: 745581
---
 debian/changelog  | 1 +
 dhpython/tools.py | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index b76fa2d..aa90898 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,6 +7,7 @@ dh-python (1.20140128-2) UNRELEASED; urgency=medium
   * dh_python2: no longer moves files to /usr/share/pyshared if there's only
     one supported Python 2.X version and doesn't create /usr/lib/pyshared
     symlinks for extensions (as other helper tools are now deprecated)
+  * Show fix_shebang's error messages only in debug mode, closes: 745581
 
   [ Matthias Klose ]
   * Remove empty directories when moving files. 
diff --git a/dhpython/tools.py b/dhpython/tools.py
index c8861b7..545ecdf 100644
--- a/dhpython/tools.py
+++ b/dhpython/tools.py
@@ -90,7 +90,7 @@ def fix_shebang(fpath, replacement=None):
     try:
         interpreter = Interpreter.from_file(fpath)
     except Exception as err:
-        log.error('fix_shebang (%s): %s', fpath, err)
+        log.debug('fix_shebang (%s): %s', fpath, err)
         return None
 
     if not replacement and interpreter.path != '/usr/bin/':  # f.e. 
/usr/local/* or */bin/env

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

_______________________________________________
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds

Reply via email to