mirror of
https://github.com/clearml/clearml
synced 2025-03-03 10:42:00 +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)
|
||||
)
|
||||
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
|
||||
return None
|
||||
except Exception as e:
|
||||
|
Loading…
Reference in New Issue
Block a user