mirror of
https://github.com/clearml/clearml-agent
synced 2025-03-03 02:32:17 +00:00
PEP8
This commit is contained in:
parent
77d6ff6630
commit
50fccdab96
@ -16,7 +16,7 @@ def parse(reqstr):
|
||||
filename = getattr(reqstr, 'name', None)
|
||||
try:
|
||||
# Python 2.x compatibility
|
||||
if not isinstance(reqstr, basestring):
|
||||
if not isinstance(reqstr, basestring): # noqa
|
||||
reqstr = reqstr.read()
|
||||
except NameError:
|
||||
# Python 3.x only
|
||||
|
Loading…
Reference in New Issue
Block a user