summaryrefslogtreecommitdiff
path: root/sphinx/builders
diff options
context:
space:
mode:
authorJon Waltman <jonathan.waltman@gmail.com>2012-11-03 11:04:32 -0500
committerJon Waltman <jonathan.waltman@gmail.com>2012-11-03 11:04:32 -0500
commite962bc0874932d9b7035aa3fa52683421e8be9b0 (patch)
tree5e9195bd6e4bd7fb32e9e8ce10a4e83ba3e9d8bd /sphinx/builders
parentd80c828be2bb5d1a6c8569043301f8a57c5c1c06 (diff)
downloadsphinx-e962bc0874932d9b7035aa3fa52683421e8be9b0.tar.gz
Fix whitespace / line length issues reported by "make test"
Diffstat (limited to 'sphinx/builders')
-rw-r--r--sphinx/builders/linkcheck.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/sphinx/builders/linkcheck.py b/sphinx/builders/linkcheck.py
index a8adcdac..bcf42741 100644
--- a/sphinx/builders/linkcheck.py
+++ b/sphinx/builders/linkcheck.py
@@ -102,7 +102,8 @@ class CheckExternalLinksBuilder(Builder):
def check():
# check for various conditions without bothering the network
- if len(uri) == 0 or uri[0] == '#' or uri[0:7] == 'mailto:' or uri[0:4] == 'ftp:':
+ if len(uri) == 0 or uri[0] == '#' or \
+ uri[0:7] == 'mailto:' or uri[0:4] == 'ftp:':
return 'unchecked', ''
elif not (uri[0:5] == 'http:' or uri[0:6] == 'https:'):
return 'local', ''