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

When X(S)-Python-Version or debian/pyversions is not present, do not

describe them as missing, just indicate they are not there
parent 7a33565d
No related branches found
No related tags found
No related merge requests found
python-defaults (2.7.5-1) UNRELEASED; urgency=low python-defaults (2.7.5-1) UNRELEASED; urgency=low
[ Matthias Klose ]
* Bump version to 2.7.5. * Bump version to 2.7.5.
* Drop python2.6 as a supported python version. * Drop python2.6 as a supported python version.
* Bump standards version to 3.9.4. * Bump standards version to 3.9.4.
* Start building the libpython-stdlib, libpython-all-dev, libpython-all-dbg * Start building the libpython-stdlib, libpython-all-dev, libpython-all-dbg
packages. packages.
[ Scott Kitterman ]
* When X(S)-Python-Version or debian/pyversions is not present, do not
describe them as missing, just indicate they are not there
-- Matthias Klose <doko@debian.org> Wed, 15 May 2013 21:55:11 +0200 -- Matthias Klose <doko@debian.org> Wed, 15 May 2013 21:55:11 +0200
python-defaults (2.7.3-13) experimental; urgency=low python-defaults (2.7.3-13) experimental; urgency=low
......
...@@ -278,11 +278,11 @@ def extract_pyversion_attribute(fn, pkg): ...@@ -278,11 +278,11 @@ def extract_pyversion_attribute(fn, pkg):
if pkg == 'Source': if pkg == 'Source':
if sversion == None: if sversion == None:
raise MissingVersionValueError, \ raise MissingVersionValueError, \
'missing X(S)-Python-Version in control file' 'no X(S)-Python-Version in control file'
return sversion return sversion
if version == None: if version == None:
raise MissingVersionValueError, \ raise MissingVersionValueError, \
'missing XB-Python-Version for package `%s' % pkg 'no XB-Python-Version for package `%s' % pkg
return version return version
# compatibility functions to parse debian/pyversions # compatibility functions to parse debian/pyversions
......
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