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:
calvin 2004-08-23 15:20:49 +00:00
parent 2bce376e61
commit e44354c3e2

View file

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