mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-04-23 07:34:44 +00:00
fix timeout exception
git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@1446 e7d03fd6-7b0d-0410-9947-9c21f3af8025
This commit is contained in:
parent
2bce376e61
commit
e44354c3e2
1 changed files with 1 additions and 1 deletions
|
|
@ -553,7 +553,7 @@ class Resolver(object):
|
|||
else:
|
||||
response = linkcheck.dns.query.udp(request, nameserver,
|
||||
timeout, self.port)
|
||||
except (socket.error, dns.exception.Timeout):
|
||||
except (socket.error, linkcheck.dns.exception.Timeout):
|
||||
#
|
||||
# Communication failure or timeout. Go to the
|
||||
# next server
|
||||
|
|
|
|||
Loading…
Reference in a new issue