diff --git a/debian/changelog b/debian/changelog
index 05e9a01587280f01305ae10df2e525ee93ef9f02..fac67b661da613f53ecce3322e7b261af84e340d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,6 +7,8 @@ python-defaults (2.7.2-10) unstable; urgency=low
 
   [ Piotr Ożarowski ]
   * pycompile: fix -O option
+  * dh_python2: do not try to add python2.X dependency if private dir works
+    with all Python versions
 
  -- Matthias Klose <doko@debian.org>  Tue, 24 Jan 2012 11:49:24 +0100
 
diff --git a/debpython/depends.py b/debpython/depends.py
index ba12687c815fbcd750b9b369ead87d3ad9270bc2..ec286b73916091859299e684d95ac5c624ac5fe0 100644
--- a/debpython/depends.py
+++ b/debpython/depends.py
@@ -143,7 +143,9 @@ class Dependencies(object):
                     # are scripts for different Python versions: compile with
                     # default Python version (or the one requested via X-P-V)
                     args += "-V %s" % vrange_str(vr)
-                    if vr[0] == vr[1]:
+                    if vr == (None, None):
+                        pass
+                    elif vr[0] == vr[1]:
                         self.depend("python%s" % vrepr(vr[0]))
                     else:
                         if vr[0]:  # minimum version specified