From a06fcfef1798932b8d40a0fe51a7b53dcd9261c1 Mon Sep 17 00:00:00 2001 From: allegroai <> Date: Wed, 8 Dec 2021 11:41:03 +0200 Subject: [PATCH] Fix PY3.5 compatibility --- clearml/backend_interface/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clearml/backend_interface/base.py b/clearml/backend_interface/base.py index 2928045a..4d273393 100644 --- a/clearml/backend_interface/base.py +++ b/clearml/backend_interface/base.py @@ -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: