diff options
Diffstat (limited to 'mesonbuild/mesonlib/universal.py')
-rw-r--r-- | mesonbuild/mesonlib/universal.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/mesonbuild/mesonlib/universal.py b/mesonbuild/mesonlib/universal.py index 9dffdca..ec92990 100644 --- a/mesonbuild/mesonlib/universal.py +++ b/mesonbuild/mesonlib/universal.py @@ -1467,8 +1467,7 @@ 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 = f'Command cannot have {match!r} since there are no outputs' - raise MesonException(m) + raise MesonException(f'Command cannot have {match!r} since there are no outputs') else: # Error out if an invalid @OUTPUTnn@ template was specified for each in command: |