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

Correctly enable faulthandler for dev version

This commit is contained in:
Julien Duponchelle 2015-11-05 10:50:37 +01:00
parent d9f94e653b
commit 7e7c8a5450

View File

@ -28,7 +28,7 @@ except ImportError:
# raven is not installed with deb package in order to simplify packaging
RAVEN_AVAILABLE = False
from .version import __version__
from .version import __version__, __version_info__
from .config import Config
from .utils.get_resource import get_resource
@ -37,7 +37,7 @@ log = logging.getLogger(__name__)
# Dev build
if __version__[4] != 0:
if __version_info__[3] != 0:
import faulthandler
# Display a traceback in case of segfault crash. Usefull when frozen