From ffe233c2eb9fa80d3619cc9fb8785fb97b1d422b Mon Sep 17 00:00:00 2001 From: calvin Date: Mon, 15 May 2006 18:05:52 +0000 Subject: [PATCH] don't catch SystemExit, and no bare except git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@3184 e7d03fd6-7b0d-0410-9947-9c21f3af8025 --- linkcheck/director/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/linkcheck/director/__init__.py b/linkcheck/director/__init__.py index 68325395..c2f9d68f 100644 --- a/linkcheck/director/__init__.py +++ b/linkcheck/director/__init__.py @@ -39,11 +39,11 @@ def check_urls (aggregate): aggregate.start_threads() # blocks until all urls are checked aggregate.urlqueue.join() - except (KeyboardInterrupt, SystemExit): + except KeyboardInterrupt: linkcheck.log.warn(linkcheck.LOG_CHECK, "keyboard interrupt; waiting for active threads to finish") aggregate.abort() - except: + except StandardError: status.internal_error() aggregate.abort() status.disable_status()