Fix typo.

This commit is contained in:
Georg Brandl 2008-03-14 15:40:31 +00:00
parent 6d7d1f6e50
commit 460d3fdbb7

View File

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