From e40cc70a4d71ce5ce5450b7697dd4b211f67f56c Mon Sep 17 00:00:00 2001 From: Anael Beutot Date: Tue, 27 Nov 2012 17:16:57 +0100 Subject: [PATCH] Use sys.exit instead of exit --- bin/cc-cli | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/cc-cli b/bin/cc-cli index b70451f..dc2a5a7 100755 --- a/bin/cc-cli +++ b/bin/cc-cli @@ -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: -- GitLab