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

Matthias Klose report at bugs.python.org
Thu Aug 5 22:18:05 CEST 2010


Matthias Klose <doko at debian.org> added the comment:

IMO using lsb_release is not an option, because it can take some time to complete. So maybe it's better for the Ubuntu change to guard the check with the existance of /etc/debian_version.

Please could you attach a Mandriva lsb-release file?

----------

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


More information about the Python-bugs-list mailing list