intro: Fixed code after rebase

pull/4949/head
Daniel Mensinger 6 years ago
parent 7074f12644
commit 586ec5a28c
No known key found for this signature in database
GPG Key ID: 54DD94C131E277D4
  1. 2
      mesonbuild/ast/introspection.py

@ -140,7 +140,7 @@ class IntrospectionInterpreter(AstInterpreter):
has_fallback = 'fallback' in kwargs has_fallback = 'fallback' in kwargs
required = kwargs.get('required', True) required = kwargs.get('required', True)
condition_level = node.condition_level if hasattr(node, 'condition_level') else 0 condition_level = node.condition_level if hasattr(node, 'condition_level') else 0
if isinstance(required, mparser.ElementaryNode): if isinstance(required, ElementaryNode):
required = required.value required = required.value
self.dependencies += [{ self.dependencies += [{
'name': name, 'name': name,

Loading…
Cancel
Save