diff --git a/debian/changelog b/debian/changelog index dfe2028cf407c0bcfbb0423d6bbd4c61855790d3..da993ac36997d992b2a35dcb293dc628fe63f802 100644 --- a/debian/changelog +++ b/debian/changelog @@ -7,9 +7,12 @@ python-defaults (2.6.6-6) UNRELEASED; urgency=low package.install files for private modules); remove public modules listed in debian/pkg.pyremove (glob.glob pattern and version range can be used in both files) - * pycompile: `pycompile $DESTDIR/usr/lib/python*` will recognize public - site-packages directories and use the right interpreter instead of raising - KeyError + * pycompile: + - `pycompile $DESTDIR/usr/lib/python*` will recognize public + 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 diff --git a/pycompile b/pycompile index 2d0a37c462886fbe7d3848ebe85e628877506dc4..8a3165e91c9c35c12f35c2304657b14486a0a4b8 100755 --- a/pycompile +++ b/pycompile @@ -242,6 +242,7 @@ multiple times to build up a list of things to exclude.') 'public modules to skip') 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]): # specific version requested, use it even if it's not in SUPPORTED versions = set(options.vrange[:1])