-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
Hello everybody,
this script won't work on python3.8 onward anymore. The function platform.linux_distribution() was deprecated with python 3.5 and removed with 3.8. The function platform.uname() is not really helpful for CentOS/RedHat Distributions, so i went the route of /etc/os-release and parsing the relevant part.
It is tested and works for Python 3.6.9 (on Ubuntu 18.04.5) and Python 3.8.5 (on Ubuntu 20.04.1) as well as CentOS 8.2.2004 with Python 3.8.0.
winem
Metadata
Metadata
Assignees
Labels
No labels