entities/adapters.py
changeset 10662 10942ed172de
parent 10473 23a2fa8cb725
child 10666 7f6b5f023884
--- a/entities/adapters.py	Tue Sep 08 18:04:57 2015 +0200
+++ b/entities/adapters.py	Tue Sep 15 16:15:03 2015 +0200
@@ -162,7 +162,7 @@
         return words
 
 def merge_weight_dict(maindict, newdict):
-    for weight, words in newdict.iteritems():
+    for weight, words in newdict.items():
         maindict.setdefault(weight, []).extend(words)
 
 class IDownloadableAdapter(view.EntityAdapter):