Commit 57c1d760 by Teeh Amaral

Fix error iteration on dictionary python

parent 7d90dd8c
......@@ -73,7 +73,7 @@ class ParseType(object):
not isinstance(python_object, (six.string_types[0], ParseType))):
# It's an iterable? Repeat this whole process on each object
if isinstance(python_object, dict):
for key, value in python_object.iteritems():
for key, value in python_object.items():
python_object[key]=ParseType.convert_to_parse(value, as_pointer=as_pointer)
return python_object
else:
......
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