server/rqlannotation.py
changeset 10662 10942ed172de
parent 10589 7c23b7de2b8d
child 10663 54b8a1f249fb
--- a/server/rqlannotation.py	Tue Sep 08 18:04:57 2015 +0200
+++ b/server/rqlannotation.py	Tue Sep 15 16:15:03 2015 +0200
@@ -318,7 +318,7 @@
 
     def compute(self, rqlst):
         # set domains for each variable
-        for varname, var in rqlst.defined_vars.iteritems():
+        for varname, var in rqlst.defined_vars.items():
             if var.stinfo['uidrel'] is not None or \
                    self.eschema(rqlst.solutions[0][varname]).final:
                 ptypes = var.stinfo['possibletypes']
@@ -356,7 +356,7 @@
 
     def _debug_print(self):
         print('varsols', dict((x, sorted(str(v) for v in values))
-                               for x, values in self.varsols.iteritems()))
+                               for x, values in self.varsols.items()))
         print('ambiguous vars', sorted(self.ambiguousvars))
 
     def set_rel_constraint(self, term, rel, etypes_func):