[Reproducible-builds] [dh-python] 108/183: few minor logging changes
Jérémy Bobbio
lunar at moszumanska.debian.org
Fri Sep 19 15:30:26 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 563a4eab38592e7ed3406a42edcb3b20580a0b31
Author: Piotr Ożarowski <piotr at debian.org>
Date: Sun Sep 1 15:28:02 2013 +0200
few minor logging changes
---
dh/pybuild.pm | 1 -
dhpython/build/__init__.py | 4 ++--
dhpython/build/base.py | 6 ++++--
pybuild | 2 +-
4 files changed, 7 insertions(+), 6 deletions(-)
diff --git a/dh/pybuild.pm b/dh/pybuild.pm
index 277e0a1..eef5818 100644
--- a/dh/pybuild.pm
+++ b/dh/pybuild.pm
@@ -3,7 +3,6 @@
# Copyright: © 2012-2013 Piotr Ożarowski
# TODO:
-# * save check_auto_buildable's result and pass it later via --system to speed things up
# * support for dh --parallel
package Debian::Debhelper::Buildsystem::pybuild;
diff --git a/dhpython/build/__init__.py b/dhpython/build/__init__.py
index 7f89907..8f9c116 100644
--- a/dhpython/build/__init__.py
+++ b/dhpython/build/__init__.py
@@ -33,6 +33,6 @@ for i in (i[7:-3] for i in glob1(dirname(__file__), 'plugin_*.py')):
plugins[i] = module.BuildSystem
except Exception as err:
if log.level < logging.INFO:
- log.info("cannot initialize '%s'", i, exc_info=True)
+ log.debug("cannot initialize '%s' plugin", i, exc_info=True)
else:
- log.info("cannot initialize '%s': %s", i, err)
+ log.debug("cannot initialize '%s' plugin: %s", i, err)
diff --git a/dhpython/build/base.py b/dhpython/build/base.py
index 48a7a75..2c10b7c 100644
--- a/dhpython/build/base.py
+++ b/dhpython/build/base.py
@@ -180,8 +180,10 @@ def shell_command(func):
if isinstance(command, int): # final result
return command
if not command:
- log.warn('missing command (plugin=%s, method=%s, version=%s)',
- self.NAME, func.__name__, args.get('version'))
+ log.warn('missing command '
+ '(plugin=%s, method=%s, interpreter=%s, version=%s)',
+ self.NAME, func.__name__,
+ args.get('interpreter'), args.get('version'))
return command
if self.cfg.quiet:
diff --git a/pybuild b/pybuild
index 20a2f27..155fbcb 100755
--- a/pybuild
+++ b/pybuild
@@ -85,7 +85,7 @@ def main(cfg):
if plugin.SUPPORTED_INTERPRETERS is not True and interpreter not in plugin.SUPPORTED_INTERPRETERS:
log.error('interpreter %s not supported by %s', interpreter, plugin)
exit(12)
- log.info('detected build system: %s (certainty: %s%%)', plugin, certainty)
+ log.debug('detected build system: %s (certainty: %s%%)', plugin.NAME, certainty)
if cfg.detect_only:
if not cfg.really_quiet:
--
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