From af643d64096ab85df5fc65aad9713ea4bed63f4e Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Sun, 30 Dec 2018 01:28:23 -0500 Subject: [PATCH] extract_required_kwarg: Fix typo --- mesonbuild/interpreter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mesonbuild/interpreter.py b/mesonbuild/interpreter.py index 63a91f5fa..a9f09b9d6 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')