From 586ec5a28cc2ea854f726cb7a6075b0918595bf5 Mon Sep 17 00:00:00 2001 From: Daniel Mensinger Date: Sun, 3 Mar 2019 23:23:50 +0100 Subject: [PATCH] intro: Fixed code after rebase --- mesonbuild/ast/introspection.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mesonbuild/ast/introspection.py b/mesonbuild/ast/introspection.py index 225f43c95..12cb37990 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,