make linter happy

This commit is contained in:
Honza Javorek
2018-07-03 14:13:46 +02:00
committed by GitHub
parent 6fe8835037
commit 271e1d1340

View File

@@ -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