[issue9514] platform.linux_distribution() under Ubuntu returns ('debian', 'squeeze/sid', '')

Simon Cross report at bugs.python.org
Wed Aug 4 20:06:11 CEST 2010


Simon Cross <hodgestar at gmail.com> added the comment:

Patch attached to check /etc/lsb-release before checking other files. Taken from Ubuntu Python 2.6 copy of platform.py. Applies against trunk (r83728) with a small offset against py3k (r83728).

----------
keywords: +patch
Added file: http://bugs.python.org/file18389/use-lsb-release-first.diff

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9514>
_______________________________________


More information about the Python-bugs-list mailing list