Fixes #977 with none deprecated call.
This commit is contained in:
parent
11961db72c
commit
b5ec476ca6
@ -162,7 +162,7 @@ def _os_info():
|
||||
lines = []
|
||||
releaseinfo = None
|
||||
if sys.platform == 'linux':
|
||||
osver = ', '.join([e for e in platform.dist() if e])
|
||||
osver = ', '.join([e for e in platform.linux_distribution() if e])
|
||||
releaseinfo = _release_info()
|
||||
elif sys.platform == 'win32':
|
||||
osver = ', '.join(platform.win32_ver())
|
||||
|
Loading…
Reference in New Issue
Block a user