Another typo.

This commit is contained in:
Georg Brandl
2008-03-14 15:41:33 +00:00
parent 460d3fdbb7
commit 31e22c0351

View File

@@ -979,7 +979,7 @@ class CheckExternalLinksBuilder(Builder):
except HTTPError, err:
if err.code == 403 and uri.startswith('http://en.wikipedia.org/'):
# Wikipedia blocks requests from urllib User-Agent
return 0
return (0, 0)
return (2, str(err))
except Exception, err:
return (2, str(err))