Support Python 3 using six
This commit is contained in:
parent
d653a3a3f7
commit
eedb4c4b73
67 changed files with 455 additions and 255 deletions
|
|
@ -55,7 +55,7 @@ def clean_json(resource_json, resources_map):
|
|||
return resource
|
||||
|
||||
cleaned_json = {}
|
||||
for key, value in resource_json.iteritems():
|
||||
for key, value in resource_json.items():
|
||||
cleaned_json[key] = clean_json(value, resources_map)
|
||||
return cleaned_json
|
||||
elif isinstance(resource_json, list):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue