diff options
Diffstat (limited to 'mesonbuild/mesonlib')
-rw-r--r-- | mesonbuild/mesonlib/universal.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mesonbuild/mesonlib/universal.py b/mesonbuild/mesonlib/universal.py index 9cf1cf0..9dffdca 100644 --- a/mesonbuild/mesonlib/universal.py +++ b/mesonbuild/mesonlib/universal.py @@ -1467,8 +1467,8 @@ def _substitute_values_check_errors(command: T.List[str], values: T.Dict[str, T. # Error out if any output-derived templates are present in the command match = iter_regexin_iter(outregex, command) if match: - m = 'Command cannot have {!r} since there are no outputs' - raise MesonException(m.format(match)) + m = f'Command cannot have {match!r} since there are no outputs' + raise MesonException(m) else: # Error out if an invalid @OUTPUTnn@ template was specified for each in command: |