Fix f-string with missing expression.
This commit is contained in:
parent
7a086d8430
commit
2e99a1898c
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ def parse_overrides(raw_overrides):
|
||||||
for raw_keys, value in (raw_override.split('=', 1),)
|
for raw_keys, value in (raw_override.split('=', 1),)
|
||||||
)
|
)
|
||||||
except ValueError:
|
except ValueError:
|
||||||
raise ValueError(f'Invalid override. Make sure you use the form: SECTION.OPTION=VALUE')
|
raise ValueError('Invalid override. Make sure you use the form: SECTION.OPTION=VALUE')
|
||||||
except ruamel.yaml.error.YAMLError as error:
|
except ruamel.yaml.error.YAMLError as error:
|
||||||
raise ValueError(f'Invalid override value: {error}')
|
raise ValueError(f'Invalid override value: {error}')
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue