aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/interpreter/interpreter.py
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2021-07-04 19:18:28 -0400
committerJussi Pakkanen <jpakkane@gmail.com>2021-07-05 17:55:04 +0300
commitbd6f46e723813dfadaba1f7c87d3b0b751d05219 (patch)
tree4e5114bd99e249f474023c505b8c388c73bde255 /mesonbuild/interpreter/interpreter.py
parentb4b488f33cb6da1d840371039d6cf2c76f91ea9b (diff)
downloadmeson-bd6f46e723813dfadaba1f7c87d3b0b751d05219.zip
meson-bd6f46e723813dfadaba1f7c87d3b0b751d05219.tar.gz
meson-bd6f46e723813dfadaba1f7c87d3b0b751d05219.tar.bz2
condense lines
Diffstat (limited to 'mesonbuild/interpreter/interpreter.py')
-rw-r--r--mesonbuild/interpreter/interpreter.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/mesonbuild/interpreter/interpreter.py b/mesonbuild/interpreter/interpreter.py
index f066864..daef5fd 100644
--- a/mesonbuild/interpreter/interpreter.py
+++ b/mesonbuild/interpreter/interpreter.py
@@ -2448,8 +2448,7 @@ This will become a hard error in the future.''' % kwargs['input'], location=self
args_frozen: bool, args: T.List[str], kwargs: 'kwargs.FuncAddProjectArgs') -> None:
if args_frozen:
msg = f'Tried to use \'{node.func_name}\' after a build target has been declared.\n' \
- 'This is not permitted. Please declare all ' \
- 'arguments before your targets.'
+ 'This is not permitted. Please declare all arguments before your targets.'
raise InvalidCode(msg)
self._warn_about_builtin_args(args)