mirror of
https://github.com/clearml/clearml
synced 2025-04-27 17:51:45 +00:00
Fix PY3.5 compatibility
This commit is contained in:
parent
8cc4c4256c
commit
a06fcfef17
@ -89,7 +89,7 @@ class InterfaceBase(SessionInterface):
|
|||||||
'Field %s contains illegal schema: %s', '.'.join(e.path), str(e.message)
|
'Field %s contains illegal schema: %s', '.'.join(e.path), str(e.message)
|
||||||
)
|
)
|
||||||
if raise_on_errors:
|
if raise_on_errors:
|
||||||
raise ValidationError(f"Field {'.'.join(e.path)} contains illegal schema: {e.message}")
|
raise ValidationError("Field %s contains illegal schema: %s" % ('.'.join(e.path), e.message))
|
||||||
# We do not want to retry
|
# We do not want to retry
|
||||||
return None
|
return None
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
|
Loading…
Reference in New Issue
Block a user