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