Skip to content
Snippets Groups Projects
Commit 5487b030 authored by Scott Kitterman's avatar Scott Kitterman
Browse files

In pyversions, do not silently ignore Python 3 versions

parent 2c46a2df
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
......@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment