From 7f9833e152dc265d139e298a0a73dbc229c536f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20O=C5=BCarowski?= <piotr@debian.org> Date: Sat, 6 Jul 2013 19:10:09 +0200 Subject: [PATCH] dh_python2: warnings about --install-layout=deb and translating dependencies are just an info now --- debian/changelog | 2 ++ debpython/pydist.py | 2 +- dh_python2 | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index 711ebca..2a68800 100644 --- a/debian/changelog +++ b/debian/changelog @@ -6,6 +6,8 @@ python-defaults (2.7.5-3) UNRELEASED; urgency=low [ Piotr Ożarowski ] * Replace /usr/bin/dh_python2 with a shell script that invokes dh-python's dh_python2 if debian/control mentions dh-python + * dh_python2: warnings about --install-layout=deb and translating + dependencies are just an info now -- Matthias Klose <doko@debian.org> Mon, 17 Jun 2013 11:09:36 +0200 diff --git a/debpython/pydist.py b/debpython/pydist.py index 13e8f35..94ccaeb 100644 --- a/debpython/pydist.py +++ b/debpython/pydist.py @@ -172,7 +172,7 @@ def guess_dependency(req, version=None): # fall back to python-distname pname = sensible_pname(name) - log.warn('Cannot find installed package that provides %s. ' + log.info('Cannot find installed package that provides %s. ' 'Using %s as package name. Please add "%s correct_package_name" ' 'line to debian/pydist-overrides to override it if this is incorrect.', name, pname, safe_name(name)) diff --git a/dh_python2 b/dh_python2 index e8f4aa1..1b88b29 100755 --- a/dh_python2 +++ b/dh_python2 @@ -84,7 +84,7 @@ def fix_locations(package): 'found in two locations:\n %s\n %s', ver, location, found_versions[ver]) exit(2) - log.warn('Python %s should install files in %s. ' + log.info('Python %s should install files in %s. ' 'Did you forget "--install-layout=deb"?', ver, sitedir(version)) if not isdir(dstdir): -- GitLab