Replace RuntimeError by SystemExit.

This commit is contained in:
grossmj
2015-06-03 19:58:58 -06:00
parent 9b0f548336
commit ea8119f3ad
4 changed files with 10 additions and 9 deletions

View File

@@ -113,7 +113,7 @@ def recursive(function, path):
if __name__ == '__main__':
if not PYUIC or not PYRCC:
raise RuntimeError("pyuic5 or pyrcc5 could't be found, please install PyQt5 development tools (e.g. pyqt5-dev-tools)")
raise SystemExit("pyuic5 or pyrcc5 could't be found, please install PyQt5 development tools (e.g. pyqt5-dev-tools)")
cwd = os.path.dirname(os.path.abspath(__file__))
gns3_path = os.path.abspath(os.path.join(cwd, "../gns3/"))