Hi Matthias, Well, this one-line bug is causing us quite a bit of trouble in unstable right now, so I've prepared a 0-day NMU to fix it on the grounds that it would be nice to not have all new python package uploads failing to build on the buildds. Patch attached, NMU on its way to incoming.
Thanks, -- Steve Langasek Give me a lever long enough and a Free OS Debian Developer to set it on, and I can move the world. [EMAIL PROTECTED] http://www.debian.org/
diff -Nru /tmp/zLS1d6oeV9/python-central-0.5.13/debian/changelog /tmp/LiN9F8kwmp/python-central-0.5.13/debian/changelog --- /tmp/zLS1d6oeV9/python-central-0.5.13/debian/changelog 2007-04-06 09:09:31.000000000 -0700 +++ /tmp/LiN9F8kwmp/python-central-0.5.13/debian/changelog 2007-04-07 13:18:59.000000000 -0700 @@ -1,3 +1,13 @@ +python-central (0.5.13-0.1) unstable; urgency=high + + * Non-maintainer upload. + * High-urgency upload to unbreak all of python in unstable to make the + bug reports stop flooding my inbox + * Fix a wrong variable name in read_default that was breaking all use + of pyversions.py. Closes: #418108. + + -- Steve Langasek <[EMAIL PROTECTED]> Sat, 07 Apr 2007 13:04:11 -0700 + python-central (0.5.13) unstable; urgency=high * Add a sanity check, that /usr/bin/python points to the default diff -Nru /tmp/zLS1d6oeV9/python-central-0.5.13/pyversions.py /tmp/LiN9F8kwmp/python-central-0.5.13/pyversions.py --- /tmp/zLS1d6oeV9/python-central-0.5.13/pyversions.py 2007-04-06 09:06:09.000000000 -0700 +++ /tmp/LiN9F8kwmp/python-central-0.5.13/pyversions.py 2007-04-07 13:04:09.000000000 -0700 @@ -19,7 +19,7 @@ _defaults = config if _defaults and name: try: - value = config.get('DEFAULT', name) + value = _defaults.get('DEFAULT', name) except NoOptionError: raise ValueError return value