1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-12-29 02:08:10 +00:00

Proper format of crash report

This commit is contained in:
Julien Duponchelle 2015-03-05 20:12:56 +01:00
parent a4da6c6a74
commit 01ab91722b

View File

@ -55,9 +55,9 @@ class CrashReport:
self._client.tags_context({
"os:name": platform.system(),
"os:release": platform.release(),
"os:win_32": platform.win32_ver(),
"os:mac": platform.mac_ver(),
"os:linux": platform.linux_distribution(),
"os:win_32": " ".join(platform.win32_ver()),
"os:mac": "{} {}".format(platform.mac_ver()[0], platform.mac_ver()[2]),
"os:linux": " ".join(platform.linux_distribution()),
"python:version": "{}.{}.{}".format(sys.version_info[0],
sys.version_info[1],
sys.version_info[2]),