Michael Barrett 2012-09-19 08:05:16 -07:00
parent 0fc5a49a11
commit 943bc073d9

View File

@ -182,7 +182,7 @@ class Serializer(object):
else:
depth = self.depth - 1
if any([obj is elem for elem in self.stack]):
if obj in self.stack:
return self.serialize_recursion(obj)
else:
stack = self.stack[:]