From: Chris Lamb Date: Thu, 29 Oct 2009 13:37:30 +0000 (+0000) Subject: Hide SystemError, otherwise logging gets ugly. X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8987bb47593698bf819ffc40ac3de2953d16168c;p=dak Hide SystemError, otherwise logging gets ugly. Signed-off-by: Chris Lamb --- diff --git a/dak/dak.py b/dak/dak.py index 0d92c7d9..19facc55 100755 --- a/dak/dak.py +++ b/dak/dak.py @@ -202,6 +202,8 @@ def main(): print msg logger.log([msg]) sys.exit(1) + except SystemExit: + pass except: for line in traceback.format_exc().split('\n')[:-1]: logger.log(['exception', line])