From 6cfd785e02175de8e193e53961e9ebd121a93035 Mon Sep 17 00:00:00 2001 From: Kern Attila GERMAIN <5556461+KernAttila@users.noreply.github.com> Date: Thu, 25 May 2023 23:48:55 +0200 Subject: [PATCH] fix: the Raise here would not work in older versions of python not implementing the f-string "equals" feature yet. --- cuesubmit/cuesubmit/Config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cuesubmit/cuesubmit/Config.py b/cuesubmit/cuesubmit/Config.py index 13d39598f..0c9f75cc5 100644 --- a/cuesubmit/cuesubmit/Config.py +++ b/cuesubmit/cuesubmit/Config.py @@ -54,7 +54,7 @@ def _loadYamlFile(yaml_file): """ _yaml_file = os.path.expandvars(yaml_file) if not os.path.exists(_yaml_file): - raise FileNotFoundError(f'{_yaml_file=} not found') + raise FileNotFoundError(f"yaml_file:{_yaml_file} not found") config_data = {} with open(_yaml_file, 'r') as data: try: