Commit 7774793e authored by gsamain's avatar gsamain

Fix DictNode nogil attribute lookup

parent 38ca41a3
......@@ -8907,7 +8907,7 @@ class DictNode(ExprNode):
code.putln('}')
if self.exclude_null_values:
code.putln('}')
elif self.type.nogil:
elif hasattr(self.type, 'nogil') and self.type.nogil:
code.putln("%s->%s = %s;" % (
self.result(),
item.key.value,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment