1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-11-28 11:18:11 +00:00

Report aiohttp version in crash report

This commit is contained in:
Julien Duponchelle 2017-02-27 11:31:51 +01:00
parent 8e9c480d8d
commit 9c71e96fd4
No known key found for this signature in database
GPG Key ID: CE8B29639E07F5E8

View File

@ -18,6 +18,7 @@
import os import os
import sys import sys
import struct import struct
import aiohttp
import platform import platform
@ -94,6 +95,7 @@ class CrashReport:
"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(platform.linux_distribution()), "os:linux": " ".join(platform.linux_distribution()),
"aiohttp:version": aiohttp.__version__,
"python:version": "{}.{}.{}".format(sys.version_info[0], "python:version": "{}.{}.{}".format(sys.version_info[0],
sys.version_info[1], sys.version_info[1],
sys.version_info[2]), sys.version_info[2]),