Skip to content

Commit

Permalink
Update [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
pfernique committed Jan 26, 2018
1 parent f524e19 commit a9fffba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/py/autowig/asg.py
Original file line number Diff line number Diff line change
Expand Up @@ -1664,7 +1664,7 @@ def dependencies(self, *nodes):
if node._node not in black:
black.add(node._node)
parent = node.parent
if not isinstance(parent, NamespaceProxy) and visitor(parent):
if parent is not None and not isinstance(parent, NamespaceProxy) and visitor(parent):
white.append(parent)
if isinstance(node, FundamentalTypeProxy):
continue
Expand Down

0 comments on commit a9fffba

Please sign in to comment.