[issue20454] platform.linux_distribution() returns empty value on Archlinux and python 2.7
ha034
report at bugs.python.org
Thu Apr 16 13:49:42 CEST 2015
ha034 added the comment:
Hey guys,
Just add:
if os.path.exists('/etc/arch-release'):
distname = 'arch'
in "_dist_try_harder"
then replace the old list with this one:
_supported_dists = (
'SuSE', 'debian', 'fedora', 'redhat', 'centos',
'mandrake', 'mandriva', 'rocks', 'slackware', 'yellowdog', 'gentoo',
'UnitedLinux', 'turbolinux', 'arch')
And that's it, it works.
----------
nosy: +ha034
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20454>
_______________________________________
More information about the Python-bugs-list
mailing list