Skip to content

Commit

Permalink
Fix Python 3
Browse files Browse the repository at this point in the history
  • Loading branch information
charlax committed May 29, 2015
1 parent 44f22fb commit 5989ea8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion charlatan/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ def richgetter(obj, path):
def deep_update(overrides, source):
"""Update a nested dictionary or similar mapping."""
# http://stackoverflow.com/questions/3232943/update-value-of-a-nested-dictionary-of-varying-depth # noqa
for key, value in source.iteritems():
for key, value in _compat.iteritems(source):
if isinstance(value, collections.Mapping):
returned = deep_update(overrides.get(key, {}), value)
overrides[key] = returned
Expand Down

0 comments on commit 5989ea8

Please sign in to comment.