Skip to content

Commit

Permalink
ast/introspection: Drop duplicate None check
Browse files Browse the repository at this point in the history
The AstInterpreter does this check as well, so don't do it twice.
  • Loading branch information
dcbaker committed Nov 1, 2024
1 parent 488cae1 commit 16746f5
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion mesonbuild/ast/introspection.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ def __init__(self,
subproject: SubProject = SubProject(''),
subproject_dir: str = 'subprojects',
env: T.Optional[environment.Environment] = None):
visitors = visitors if visitors is not None else []
super().__init__(source_root, subdir, subproject, visitors=visitors)

options = IntrospectionHelper(cross_file)
Expand Down

0 comments on commit 16746f5

Please sign in to comment.