1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-11-24 17:28:08 +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 sys
import struct
import aiohttp
import platform
@ -94,6 +95,7 @@ class CrashReport:
"os:win_32": " ".join(platform.win32_ver()),
"os:mac": "{} {}".format(platform.mac_ver()[0], platform.mac_ver()[2]),
"os:linux": " ".join(platform.linux_distribution()),
"aiohttp:version": aiohttp.__version__,
"python:version": "{}.{}.{}".format(sys.version_info[0],
sys.version_info[1],
sys.version_info[2]),