]> err.no Git - dak/commitdiff
Hide SystemError, otherwise logging gets ugly.
authorChris Lamb <lamby@debian.org>
Thu, 29 Oct 2009 13:37:30 +0000 (13:37 +0000)
committerChris Lamb <lamby@debian.org>
Thu, 29 Oct 2009 13:37:30 +0000 (13:37 +0000)
Signed-off-by: Chris Lamb <lamby@debian.org>
dak/dak.py

index 0d92c7d934ed1e01c7f70c9a29bbd707e957842c..19facc5592ef853fe36769720f7c8749d9d48d24 100755 (executable)
@@ -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])