extract_required_kwarg: Fix typo

pull/4791/head
Xavier Claessens 6 years ago committed by Xavier Claessens
parent 35f0f7090d
commit af643d6409
  1. 2
      mesonbuild/interpreter.py

@ -101,7 +101,7 @@ def extract_required_kwarg(kwargs, subproject, feature_check=None, default=True)
disabled = True disabled = True
elif option.is_enabled(): elif option.is_enabled():
required = True required = True
elif isinstance(required, bool): elif isinstance(val, bool):
required = val required = val
else: else:
raise InterpreterException('required keyword argument must be boolean or a feature option') raise InterpreterException('required keyword argument must be boolean or a feature option')

Loading…
Cancel
Save