Skip to content
Snippets Groups Projects
Commit bd06b1d0 authored by Piotr Ożarowski's avatar Piotr Ożarowski
Browse files

do not try to check if interpreter is present when version range is empty (closes: 605356)

parent dc1535dd
No related branches found
No related tags found
No related merge requests found
...@@ -7,9 +7,12 @@ python-defaults (2.6.6-6) UNRELEASED; urgency=low ...@@ -7,9 +7,12 @@ python-defaults (2.6.6-6) UNRELEASED; urgency=low
package.install files for private modules); remove public modules listed package.install files for private modules); remove public modules listed
in debian/pkg.pyremove (glob.glob pattern and version range can be used in in debian/pkg.pyremove (glob.glob pattern and version range can be used in
both files) both files)
* pycompile: `pycompile $DESTDIR/usr/lib/python*` will recognize public * pycompile:
site-packages directories and use the right interpreter instead of raising - `pycompile $DESTDIR/usr/lib/python*` will recognize public
KeyError site-packages directories and use the right interpreter instead of
raising KeyError
- do not try to check if interpreter is present when version range is
empty (closes: 605356)
-- Piotr Ożarowski <piotr@debian.org> Sun, 21 Nov 2010 23:49:32 +0100 -- Piotr Ożarowski <piotr@debian.org> Sun, 21 Nov 2010 23:49:32 +0100
......
...@@ -242,6 +242,7 @@ multiple times to build up a list of things to exclude.') ...@@ -242,6 +242,7 @@ multiple times to build up a list of things to exclude.')
'public modules to skip') 'public modules to skip')
if options.vrange and options.vrange[0] == options.vrange[1] and\ if options.vrange and options.vrange[0] == options.vrange[1] and\
options.vrange != (None, None) and\
exists("/usr/bin/python%d.%d" % options.vrange[0]): exists("/usr/bin/python%d.%d" % options.vrange[0]):
# specific version requested, use it even if it's not in SUPPORTED # specific version requested, use it even if it's not in SUPPORTED
versions = set(options.vrange[:1]) versions = set(options.vrange[:1])
......
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