git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@1236 e7d03fd6-7b0d-0410-9947-9c21f3af8025
This commit is contained in:
calvin 2004-01-29 21:37:06 +00:00
parent a0cb56d0f2
commit 7121f81aff

View file

@ -361,7 +361,7 @@ class UrlData (object):
debug(HURT_ME_PLENTY, "exception", traceback.format_tb(etb))
# make nicer error msg for unknown hosts
if isinstance(evalue, socket.error) and evalue[0]==-2:
evalue = i18n._('Host not found')
evalue = i18n._('Hostname not found')
self.setError(str(evalue))
# check content