From 17bed9de89401f9ca57089988cfc8666a62fff9e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Piotr=20O=C5=BCarowski?= <piotr@debian.org>
Date: Tue, 22 Jun 2010 00:01:42 +0200
Subject: [PATCH] suggest --install-layout=deb

---
 debian/changelog | 4 ++--
 dh_python2       | 3 +++
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 4f7e806..992a660 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,4 +1,4 @@
-python-defaults (2.6.5-4) UNRELEASED; urgency=low
+python-defaults (2.6.5-4) unstable; urgency=low
 
   [ Piotr Ożarowski ]
   * dh_python2:
@@ -11,7 +11,7 @@ python-defaults (2.6.5-4) UNRELEASED; urgency=low
   * Additonal Python 3 related policy changes:
     - Clarify that helper specific policy does not apply to Python 3
 
- -- Piotr Ożarowski <piotr@debian.org>  Sun, 20 Jun 2010 16:13:24 -0400
+ -- Piotr Ożarowski <piotr@debian.org>  Mon, 21 Jun 2010 23:50:22 +0200
 
 python-defaults (2.6.5-3) unstable; urgency=low
 
diff --git a/dh_python2 b/dh_python2
index 3a3e6ad..e0215d0 100755
--- a/dh_python2
+++ b/dh_python2
@@ -89,6 +89,9 @@ def fix_locations(package):
                               'found in two locations:\n %s\n %s',
                               ver, location, found_versions[ver])
                     exit(2)
+                log.info('Python %s should install files in %s. '
+                         'Did you forget "--install-layout=deb"?',
+                         ver, sitedir(version))
                 if not isdir(dstdir):
                     os.makedirs(dstdir)
                 # TODO: what about relative symlinks?
-- 
GitLab