Skip to content
Snippets Groups Projects
Commit e40cc70a authored by Anael Beutot's avatar Anael Beutot Committed by Sébastien Luttringer
Browse files

Use sys.exit instead of exit

parent 90628e7e
No related branches found
No related tags found
No related merge requests found
......@@ -165,7 +165,7 @@ except BadArgument as e:
printer.error("Bad Argument: %s"%str(e))
oparser.print_help()
except KeyboardInterrupt:
exit(1)
sys.exit("Interrupted")
except cliError as e:
printer.error("%s: %s"%(type(e), str(e)))
except Exception as e:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment