Replace RuntimeError by SystemExit.

This commit is contained in:
grossmj committed 2015-06-03 19:58:58 -06:00
1 parent 37ddff9f07
commit b118f9a078
1 file changed
+1 -1
+1 -1
View File
@@ -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],