mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
make linter happy
This commit is contained in:
@@ -122,7 +122,10 @@ class CheckExternalLinksBuilder(Builder):
|
||||
# type: () -> None
|
||||
kwargs = {
|
||||
'allow_redirects': True,
|
||||
'headers': {'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'},
|
||||
'headers': {
|
||||
'Accept': ('text/html,application/xhtml+xml,'
|
||||
'application/xml;q=0.9,*/*;q=0.8')
|
||||
},
|
||||
}
|
||||
if self.app.config.linkcheck_timeout:
|
||||
kwargs['timeout'] = self.app.config.linkcheck_timeout
|
||||
|
||||
Reference in New Issue
Block a user