Skip to content

Commit a693e26

Browse files
committed
replaced f-string for python 3.5
1 parent de569e0 commit a693e26

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

sap/aibus/dar/client/model_manager_client.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,9 @@ def read_job_by_model_name(self, model_name: str) -> dict:
132132
if job["modelName"] == model_name:
133133
return job
134134
else: # pylint: disable=useless-else-on-loop
135-
raise JobNotFound(f"Job with model name '{model_name}' could not be found")
135+
raise JobNotFound(
136+
"Job with model name '{}' could not be found".format(model_name)
137+
)
136138

137139
def delete_job_by_id(self, job_id: str) -> None:
138140
"""

0 commit comments

Comments
 (0)