aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/mesonlib
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2021-10-03 20:31:39 -0400
committerEli Schwartz <eschwartz@archlinux.org>2021-10-04 17:01:03 -0400
commit800c3462f0ce35502232aedb3a318c5579c7a504 (patch)
treeaf17102fe3bfdabbe14cf8b47df051d8e0fffa76 /mesonbuild/mesonlib
parentd06cc042eb21bc16a4a5cc957a3615e5e3a9743a (diff)
downloadmeson-800c3462f0ce35502232aedb3a318c5579c7a504.zip
meson-800c3462f0ce35502232aedb3a318c5579c7a504.tar.gz
meson-800c3462f0ce35502232aedb3a318c5579c7a504.tar.bz2
condense lines
Diffstat (limited to 'mesonbuild/mesonlib')
-rw-r--r--mesonbuild/mesonlib/universal.py3
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: