From b118f9a0782c111a82ea7e425fbc931c1bd0876e Mon Sep 17 00:00:00 2001 From: grossmj Date: Wed, 3 Jun 2015 19:58:58 -0600 Subject: [PATCH] Replace RuntimeError by SystemExit. --- gns3server/run.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gns3server/run.py b/gns3server/run.py index 7a76fd9f..6048322e 100644 --- a/gns3server/run.py +++ b/gns3server/run.py @@ -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],