Fix flake8 W293 blank line contains whitespace

This commit is contained in:
Labrys of Knossos 2019-04-05 12:44:44 -04:00
commit 697df555ec
3 changed files with 9 additions and 9 deletions

View file

@ -49,7 +49,7 @@ def process(section, dir_name, input_name=None, status=0, client_agent='manual',
)
logger.postprocess('{0}'.format(r.text), section)
if r.status_code not in [requests.codes.ok, requests.codes.created, requests.codes.accepted]:
logger.error('Server returned status {0}'.format(r.status_code), section)
return ProcessResult(

View file

@ -132,7 +132,7 @@ class NTMRotatingLogHandler(object):
"""
Returns a numbered log file name depending on i. If i==0 it just uses logName, if not it appends
it to the extension (blah.log.3 for i == 3)
i: Log number to ues
"""