mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-04-13 10:51:03 +00:00
remove old signal check
git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@3419 e7d03fd6-7b0d-0410-9947-9c21f3af8025
This commit is contained in:
parent
c1f52e3b68
commit
01cf921816
1 changed files with 0 additions and 5 deletions
|
|
@ -18,7 +18,6 @@
|
|||
Management of checking a queue of links with several threads.
|
||||
"""
|
||||
import time
|
||||
import signal
|
||||
import linkcheck
|
||||
import linkcheck.log
|
||||
import linkcheck.cache.urlqueue
|
||||
|
|
@ -50,10 +49,6 @@ def check_urls (aggregate):
|
|||
aggregate.remove_stopped_threads()
|
||||
if not aggregate.threads:
|
||||
break
|
||||
sigint = signal.getsignal(signal.SIGINT)
|
||||
if sigint != signal.default_int_handler:
|
||||
linkcheck.log.warn(linkcheck.LOG_CHECK,
|
||||
_("signal interrupt handler changed to %s"), sigint)
|
||||
except KeyboardInterrupt:
|
||||
linkcheck.log.warn(linkcheck.LOG_CHECK,
|
||||
_("keyboard interrupt; waiting for active threads to finish"))
|
||||
|
|
|
|||
Loading…
Reference in a new issue