devtools/repotest.py
changeset 10663 54b8a1f249fb
parent 10662 10942ed172de
child 10711 d7f009a3b960
--- a/devtools/repotest.py	Tue Sep 15 16:15:03 2015 +0200
+++ b/devtools/repotest.py	Tue Oct 13 15:09:22 2015 +0200
@@ -116,7 +116,7 @@
         schema_eids[x] = x.eid
     for x in schema.relations():
         schema_eids[x] = x.eid
-        for rdef in x.rdefs.itervalues():
+        for rdef in x.rdefs.values():
             schema_eids[(rdef.subject, rdef.rtype, rdef.object)] = rdef.eid
     return schema_eids
 
@@ -128,7 +128,7 @@
     for x in schema.relations():
         x.eid = schema_eids[x]
         schema._eid_index[x.eid] = x
-        for rdef in x.rdefs.itervalues():
+        for rdef in x.rdefs.values():
             rdef.eid = schema_eids[(rdef.subject, rdef.rtype, rdef.object)]
             schema._eid_index[rdef.eid] = rdef