diff options
| author | Jon Waltman <jonathan.waltman@gmail.com> | 2012-11-03 11:04:32 -0500 |
|---|---|---|
| committer | Jon Waltman <jonathan.waltman@gmail.com> | 2012-11-03 11:04:32 -0500 |
| commit | e962bc0874932d9b7035aa3fa52683421e8be9b0 (patch) | |
| tree | 5e9195bd6e4bd7fb32e9e8ce10a4e83ba3e9d8bd /sphinx/builders | |
| parent | d80c828be2bb5d1a6c8569043301f8a57c5c1c06 (diff) | |
| download | sphinx-e962bc0874932d9b7035aa3fa52683421e8be9b0.tar.gz | |
Fix whitespace / line length issues reported by "make test"
Diffstat (limited to 'sphinx/builders')
| -rw-r--r-- | sphinx/builders/linkcheck.py | 3 |
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', '' |
