[issue33435] incorrect detection of information of some distributions
Andrey Bychkov
report at bugs.python.org
Wed May 16 04:39:30 EDT 2018
Andrey Bychkov <mrandybu at gmail.com> added the comment:
I think, at this moment, the optimal is parsing information from os-release file, because it's contained in majority linux distributions. Also can using 'Lsb_release -a' command, but not all distributions support 'Linux Standard Base'. At final can using at first parsing the os-release and if it failed, can using the lsb command parse.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue33435>
_______________________________________
More information about the Python-bugs-list
mailing list