diff --git a/debian/changelog b/debian/changelog index d5eede88d5753a89028ebe5b59b35f9ef6a66168..c9c09b1050a5b99e861b5587f237ee68c136f73a 100644 --- a/debian/changelog +++ b/debian/changelog @@ -2,8 +2,9 @@ python-defaults (2.6.5-13) UNRELEASED; urgency=low * Python policy changes for X-Python-Version and X-Python3-Version - Minimum changes for Squeeze + * In pyversions, do not silently ignore Python 3 versions - -- Scott Kitterman <scott@kitterman.com> Tue, 10 Aug 2010 22:22:49 -0400 + -- Scott Kitterman <scott@kitterman.com> Tue, 10 Aug 2010 22:27:20 -0400 python-defaults (2.6.5-12) unstable; urgency=low diff --git a/debian/pyversions.py b/debian/pyversions.py index 7c50300be19d122863763b94fca1c7e7e155d516..06100b2745ee647521d94a7e9f866f218cf53d06 100644 --- a/debian/pyversions.py +++ b/debian/pyversions.py @@ -56,8 +56,9 @@ def parse_versions(vstring, add_exact=False): raise ValueError('error parsing Python-Version attribute') op, v = m.group(1), m.group(2) vmaj, vmin = v.split('.') - if int(vmaj) > 2: - continue + # Don't silently ignore Python 3 versions for Squeeze. + #if int(vmaj) > 2: + # continue if op in (None, '='): exact_versions.add(v) else: