rset.py
changeset 7968 92303e2ed77a
parent 7595 83872394b5d9
child 8049 a48301a44b50
--- a/rset.py	Tue Oct 18 15:52:50 2011 +0200
+++ b/rset.py	Tue Oct 18 17:08:05 2011 +0200
@@ -480,9 +480,9 @@
             eschema = entity.e_schema
             eid_col, attr_cols, rel_cols = self._rset_structure(eschema, col)
             entity.eid = rowvalues[eid_col]
-            for attr, col_idx in attr_cols.items():
+            for attr, col_idx in attr_cols.iteritems():
                 entity.cw_attr_cache[attr] = rowvalues[col_idx]
-            for (rtype, role), col_idx in rel_cols.items():
+            for (rtype, role), col_idx in rel_cols.iteritems():
                 value = rowvalues[col_idx]
                 if value is None:
                     if role == 'subject':