aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild
diff options
context:
space:
mode:
authorXavier Claessens <xavier.claessens@collabora.com>2018-12-30 01:28:23 -0500
committerXavier Claessens <xclaesse@gmail.com>2019-01-16 11:16:46 -0500
commitaf643d64096ab85df5fc65aad9713ea4bed63f4e (patch)
tree5106e99415d78f3813647b43f25f2b69e5443964 /mesonbuild
parent35f0f7090d7daab3f7e95a0e2d495bdb0f68cf4a (diff)
downloadmeson-af643d64096ab85df5fc65aad9713ea4bed63f4e.zip
meson-af643d64096ab85df5fc65aad9713ea4bed63f4e.tar.gz
meson-af643d64096ab85df5fc65aad9713ea4bed63f4e.tar.bz2
extract_required_kwarg: Fix typo
Diffstat (limited to 'mesonbuild')
-rw-r--r--mesonbuild/interpreter.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/interpreter.py b/mesonbuild/interpreter.py
index 63a91f5..a9f09b9 100644
--- a/mesonbuild/interpreter.py
+++ b/mesonbuild/interpreter.py
@@ -101,7 +101,7 @@ def extract_required_kwarg(kwargs, subproject, feature_check=None, default=True)
disabled = True
elif option.is_enabled():
required = True
- elif isinstance(required, bool):
+ elif isinstance(val, bool):
required = val
else:
raise InterpreterException('required keyword argument must be boolean or a feature option')