Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
#88 Python 3 does not have iteritems so just use bog standard items.…
… These aren't massive so it doesn't really matter.
  • Loading branch information
JonathanWylie committed Mar 16, 2016
commit 2f2eecd23f2be9b59e8bf18829daf8b4acced32f
2 changes: 1 addition & 1 deletion couchdb/mapping.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ def wrap(cls, data):
instance = cls()

def add_defaults(default_values, data_dict):
for key, defaultValue in default_values.iteritems():
for key, defaultValue in default_values.items():
if key not in data_dict:
data_dict[key] = defaultValue
if isinstance(defaultValue, dict):
Expand Down