mirror of
https://github.com/sprockets/sprockets.mixins.http.git
synced 2024-11-14 19:29:31 +00:00
Fix flake8 error.
... and upgrade flake8 so that it works with the other flake8 plugins.
This commit is contained in:
parent
eecc557d4c
commit
b0de87f779
2 changed files with 3 additions and 4 deletions
|
@ -1,6 +1,6 @@
|
|||
coverage==4.5.4
|
||||
codecov==2.0.15
|
||||
flake8==3.7.8
|
||||
flake8==3.7.9
|
||||
flake8-comprehensions==2.2.0
|
||||
flake8-deprecated==1.3
|
||||
flake8-html==0.4.0
|
||||
|
|
|
@ -360,9 +360,8 @@ class HTTPClientMixin:
|
|||
|
||||
# Fail hard if someone is doing something wrong
|
||||
if 'raise_error' in kwargs:
|
||||
raise RuntimeError(
|
||||
self.__class__.__name__ + '.http_fetch called with ' +
|
||||
'raise_error')
|
||||
raise RuntimeError(self.__class__.__name__ + '.http_fetch '
|
||||
'called with raise_error')
|
||||
|
||||
for attempt in range(0, max_http_attempts):
|
||||
LOGGER.debug('%s %s (Attempt %i of %i) %r',
|
||||
|
|
Loading…
Reference in a new issue