Core: Fixing None equality test in MapleTree implementation

This commit is contained in:
Mike Auty
2024-01-17 20:37:26 +00:00
parent 614d4d6f2b
commit 01ffcd9634
@@ -362,7 +362,7 @@ class maple_tree(objects.StructType):
# None. If however you wanted to parse from a node, but ignore some parts of the tree below it then
# this could be populated with the addresses of the nodes you wish to ignore.
if seen == None:
if seen is None:
seen = set()
# protect against unlikely loop