From: Chris Lamb Date: Thu, 29 Oct 2009 13:37:30 +0000 (+0000) Subject: Hide SystemError, otherwise logging gets ugly. X-Git-Tag: debian-r/squeeze~963^2^2~1 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=8987bb47593698bf819ffc40ac3de2953d16168c;p=dak.git 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])