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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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: