mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Another typo.
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user