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 1f055736890171050a6223cb9157ae055faecffd Author: Piotr Ożarowski <pi...@debian.org> Date: Mon Jul 1 22:38:53 2013 +0200 set logger name to "dhpython" --- dh_python2 | 6 +++--- dh_python3 | 6 +++--- dhpython/_defaults.py | 2 +- dhpython/debhelper.py | 2 +- dhpython/depends.py | 2 +- dhpython/fs.py | 2 +- dhpython/interpreter.py | 2 +- dhpython/pydist.py | 2 +- dhpython/tools.py | 2 +- dhpython/version.py | 2 +- pybuild | 4 ++-- 11 files changed, 16 insertions(+), 16 deletions(-) diff --git a/dh_python2 b/dh_python2 index c43ff9f..acd3981 100755 --- a/dh_python2 +++ b/dh_python2 @@ -47,9 +47,9 @@ from dhpython.tools import relative_symlink,\ from dhpython.option import Option # initialize script -logging.basicConfig(format='%(levelname).1s: %(module)s:%(lineno)d: ' - '%(message)s') -log = logging.getLogger(__name__) +logging.basicConfig(format='%(levelname).1s: dh_python2 ' + '%(module)s:%(lineno)d: %(message)s') +log = logging.getLogger('dhpython') os.umask(0o22) DEFAULT = default('cpython2') SUPPORTED = supported('cpython2') diff --git a/dh_python3 b/dh_python3 index fe2e578..e223b45 100755 --- a/dh_python3 +++ b/dh_python3 @@ -40,9 +40,9 @@ from dhpython.tools import fix_shebang, clean_egg_name from dhpython.option import Option # initialize script -logging.basicConfig(format='%(levelname).1s: %(module)s:%(lineno)d: ' - '%(message)s') -log = logging.getLogger(__name__) +logging.basicConfig(format='%(levelname).1s: dh_python3 ' + '%(module)s:%(lineno)d: %(message)s') +log = logging.getLogger('dhpython') os.umask(0o22) DEFAULT = default('cpython3') SUPPORTED = supported('cpython3') diff --git a/dhpython/_defaults.py b/dhpython/_defaults.py index 072bce8..6a1c7b3 100755 --- a/dhpython/_defaults.py +++ b/dhpython/_defaults.py @@ -33,7 +33,7 @@ DEFAULT = { 'cpython3': (3, 3), 'pypy': (2, 0)} -log = logging.getLogger(__name__) +log = logging.getLogger('dhpython') def cpython_versions(major): diff --git a/dhpython/debhelper.py b/dhpython/debhelper.py index b65407d..dfca0d2 100644 --- a/dhpython/debhelper.py +++ b/dhpython/debhelper.py @@ -23,7 +23,7 @@ from os import makedirs, chmod from os.path import exists, join, dirname from dhpython import PKG_NAME_TPLS, RT_LOCATIONS, RT_TPLS -log = logging.getLogger(__name__) +log = logging.getLogger('dhpython') class DebHelper: diff --git a/dhpython/depends.py b/dhpython/depends.py index dae5f0b..ce48504 100644 --- a/dhpython/depends.py +++ b/dhpython/depends.py @@ -23,7 +23,7 @@ from dhpython import PKG_PREFIX_MAP, MINPYCDEP from dhpython.pydist import parse_pydep, guess_dependency from dhpython.version import default, supported, VersionRange -log = logging.getLogger(__name__) +log = logging.getLogger('dhpython') class Dependencies: diff --git a/dhpython/fs.py b/dhpython/fs.py index 42e72c5..b7ddf86 100644 --- a/dhpython/fs.py +++ b/dhpython/fs.py @@ -23,7 +23,7 @@ from filecmp import cmp as cmpfile from os import listdir, remove, renames, rmdir from os.path import exists, isdir, join -log = logging.getLogger(__name__) +log = logging.getLogger('dhpython') def fix_locations(package, interpreter, versions): diff --git a/dhpython/interpreter.py b/dhpython/interpreter.py index 3140567..bf07c29 100644 --- a/dhpython/interpreter.py +++ b/dhpython/interpreter.py @@ -54,7 +54,7 @@ EXTFILE_RE = re.compile(r''' ))? (?P<debug>_d)? \.so$''', re.VERBOSE) -log = logging.getLogger(__name__) +log = logging.getLogger('dhpython') class Interpreter: diff --git a/dhpython/pydist.py b/dhpython/pydist.py index b7b291a..3d37953 100644 --- a/dhpython/pydist.py +++ b/dhpython/pydist.py @@ -29,7 +29,7 @@ from dhpython import PKG_PREFIX_MAP, PUBLIC_DIR_RE,\ from dhpython.version import get_requested_versions, Version from dhpython.tools import memoize -log = logging.getLogger(__name__) +log = logging.getLogger('dhpython') PYDIST_RE = re.compile(r""" (?P<name>[A-Za-z][A-Za-z0-9_.\-]*) # Python distribution name diff --git a/dhpython/tools.py b/dhpython/tools.py index 0065890..1f8f92e 100644 --- a/dhpython/tools.py +++ b/dhpython/tools.py @@ -29,7 +29,7 @@ from shutil import rmtree from os.path import exists, getsize, isdir, islink, join, split from subprocess import Popen, PIPE -log = logging.getLogger(__name__) +log = logging.getLogger('dhpython') EGGnPTH_RE = re.compile(r'(.*?)(-py\d\.\d(?:-[^.]*)?)?(\.egg-info|\.pth)$') SHAREDLIB_RE = re.compile(r'NEEDED.*libpython(\d\.\d)') diff --git a/dhpython/version.py b/dhpython/version.py index f231d09..952ee24 100644 --- a/dhpython/version.py +++ b/dhpython/version.py @@ -33,7 +33,7 @@ VERSION_RE = re.compile(r''' (?P<releaselevel>alpha|beta|candidate|final)?[.\s]? (?P<serial>\d+)?''', re.VERBOSE) -log = logging.getLogger(__name__) +log = logging.getLogger('dhpython') Interpreter = None diff --git a/pybuild b/pybuild index 0bb6306..1de1e14 100755 --- a/pybuild +++ b/pybuild @@ -26,8 +26,8 @@ import sys from os import environ, getcwd, makedirs from os.path import exists, join -logging.basicConfig(format='%(levelname).1s: %(module)s:%(lineno)d: ' - '%(message)s') +logging.basicConfig(format='%(levelname).1s: pybuild ' + '%(module)s:%(lineno)d: %(message)s') log = logging.getLogger('dhpython') -- 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