From aa81486fe9caf6034560fdc8e24b2610e945a8bd Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Fri, 17 Feb 2012 13:47:00 +0100 Subject: [PATCH] sys.exit() in try Signed-off-by: Nico Schottelius --- bin/cdist | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/cdist b/bin/cdist index 06e82cc9..971288fd 100755 --- a/bin/cdist +++ b/bin/cdist @@ -228,7 +228,7 @@ if __name__ == "__main__": else: commandline() - except KeyboardInterrupt: sys.exit(0) - sys.exit(0) + except KeyboardInterrupt: + sys.exit(0)