mirror of
https://github.com/GNS3/gns3-server
synced 2024-11-24 17:28:08 +00:00
Replace RuntimeError by SystemExit.
This commit is contained in:
parent
37ddff9f07
commit
b118f9a078
@ -201,7 +201,7 @@ def run():
|
||||
|
||||
# we only support Python 3 version >= 3.4
|
||||
if sys.version_info < (3, 4):
|
||||
raise RuntimeError("Python 3.4 or higher is required")
|
||||
raise SystemExit("Python 3.4 or higher is required")
|
||||
|
||||
user_log.info("Running with Python {major}.{minor}.{micro} and has PID {pid}".format(
|
||||
major=sys.version_info[0], minor=sys.version_info[1],
|
||||
|
Loading…
Reference in New Issue
Block a user