aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/ast/introspection.py
diff options
context:
space:
mode:
authorDaniel Mensinger <daniel@mensinger-ka.de>2019-03-03 23:23:50 +0100
committerDaniel Mensinger <daniel@mensinger-ka.de>2019-03-03 23:23:50 +0100
commit586ec5a28cc2ea854f726cb7a6075b0918595bf5 (patch)
tree9e8e3bae6cee8ce439febfd18a8d26c71eb54380 /mesonbuild/ast/introspection.py
parent7074f12644ae0ddc7f8d7471f776bce3375934d4 (diff)
downloadmeson-586ec5a28cc2ea854f726cb7a6075b0918595bf5.zip
meson-586ec5a28cc2ea854f726cb7a6075b0918595bf5.tar.gz
meson-586ec5a28cc2ea854f726cb7a6075b0918595bf5.tar.bz2
intro: Fixed code after rebase
Diffstat (limited to 'mesonbuild/ast/introspection.py')
-rw-r--r--mesonbuild/ast/introspection.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/ast/introspection.py b/mesonbuild/ast/introspection.py
index 225f43c..12cb379 100644
--- a/mesonbuild/ast/introspection.py
+++ b/mesonbuild/ast/introspection.py
@@ -140,7 +140,7 @@ class IntrospectionInterpreter(AstInterpreter):
has_fallback = 'fallback' in kwargs
required = kwargs.get('required', True)
condition_level = node.condition_level if hasattr(node, 'condition_level') else 0
- if isinstance(required, mparser.ElementaryNode):
+ if isinstance(required, ElementaryNode):
required = required.value
self.dependencies += [{
'name': name,