From 19477ecf6f5433ad70b8696f719edb56cd3f1c75 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20O=C5=BCarowski?= <piotr@debian.org> Date: Thu, 15 Sep 2011 21:19:55 +0200 Subject: [PATCH] update TransitionToDHPython2 wiki URL --- dh_python2 | 3 +-- dh_python2.rst | 5 ++--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/dh_python2 b/dh_python2 index 4d6f603..f215087 100755 --- a/dh_python2 +++ b/dh_python2 @@ -329,8 +329,7 @@ def scan(package, dname=None, clean_dbg_pkg=True): if '/usr/lib/python3' in root or\ '/usr/local/lib/python3' in root: # warn only once - warn = root[root.find('/lib/python'):].count('/') == 2 - if warn: + if root[root.find('/lib/python'):].count('/') == 2: log.warning('Python 3.x location detected, ' 'please use dh_python3: %s', root) continue diff --git a/dh_python2.rst b/dh_python2.rst index 244be48..acc6185 100644 --- a/dh_python2.rst +++ b/dh_python2.rst @@ -164,6 +164,5 @@ SEE ALSO * /usr/share/doc/python-doc/README.PyDist (python-doc package) * pycompile(1), pyclean(1) * dh_python3(1), py3compile(1), py3clean(1) -* Wiki pages about converting package to dh_python2: - http://wiki.debian.org/Python/PythonSupportToDHPython2 - http://wiki.debian.org/Python/PyCentral2DhPython2 +* Wiki page about converting package to dh_python2: + http://wiki.debian.org/Python/TransitionToDHPython2 -- GitLab