From 01ab91722b4b305f30756eead1cd766b02704fe5 Mon Sep 17 00:00:00 2001 From: Julien Duponchelle Date: Thu, 5 Mar 2015 20:12:56 +0100 Subject: [PATCH] Proper format of crash report --- gns3server/crash_report.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gns3server/crash_report.py b/gns3server/crash_report.py index fd112384..0a41588a 100644 --- a/gns3server/crash_report.py +++ b/gns3server/crash_report.py @@ -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]),