From e681235e5fe3ee0a40dd6a3f5922c2c4b0cf98b4 Mon Sep 17 00:00:00 2001 From: Daniel Mensinger Date: Tue, 1 Sep 2020 19:58:10 +0200 Subject: typing: fix code review --- mesonbuild/ast/introspection.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mesonbuild/ast') diff --git a/mesonbuild/ast/introspection.py b/mesonbuild/ast/introspection.py index 19fedbf..d7d982e 100644 --- a/mesonbuild/ast/introspection.py +++ b/mesonbuild/ast/introspection.py @@ -296,7 +296,7 @@ class IntrospectionInterpreter(AstInterpreter): return None def is_subproject(self) -> bool: - return str(self.subproject) != '' + return self.subproject != '' def analyze(self) -> None: self.load_root_meson_file() -- cgit v1.1