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
This commit is contained in:
calvin 2006-05-15 18:05:52 +00:00
parent 938d193446
commit ffe233c2eb

View file

@ -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()