mirror of
https://github.com/GNS3/gns3-server
synced 2024-12-01 04:38:12 +00:00
Replace deprecated distro.linux_distribution() call
This commit is contained in:
parent
e20d1adb0e
commit
6b3d4feab8
@ -93,7 +93,7 @@ class CrashReport:
|
|||||||
"os:release": platform.release(),
|
"os:release": platform.release(),
|
||||||
"os:win_32": " ".join(platform.win32_ver()),
|
"os:win_32": " ".join(platform.win32_ver()),
|
||||||
"os:mac": "{} {}".format(platform.mac_ver()[0], platform.mac_ver()[2]),
|
"os:mac": "{} {}".format(platform.mac_ver()[0], platform.mac_ver()[2]),
|
||||||
"os:linux": " ".join(distro.linux_distribution()),
|
"os:linux": distro.name(pretty=True),
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user