Skip to content

Commit

Permalink
fix: the Raise here would not work in older versions of python not im…
Browse files Browse the repository at this point in the history
…plementing the f-string "equals" feature yet.
  • Loading branch information
KernAttila committed Aug 7, 2024
1 parent 26676a2 commit 91483f0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cuesubmit/cuesubmit/Config.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion cuesubmit/cuesubmit/Util.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,4 +95,4 @@ def convertCommandOptions(options):
'float_precision': value[3] if len(value)==4 else None
})
parameters.append(options)
return parameters
return parameters
2 changes: 1 addition & 1 deletion cuesubmit/cuesubmit_isolated_job_config.example.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ options:
"{!mayaFile*}":
- Maya Ascii file (*.ma)
- Maya Binary file (*.mb)
- Maya file (*.ma *.mb)
- Maya file (*.ma *.mb)

0 comments on commit 91483f0

Please sign in to comment.