entities/lib.py
changeset 10609 e2d8e81bfe68
parent 10603 65ad6980976e
child 10907 9ae707db5265
--- a/entities/lib.py	Tue Sep 15 15:07:13 2015 +0200
+++ b/entities/lib.py	Tue Sep 15 16:56:57 2015 +0200
@@ -21,6 +21,7 @@
 from warnings import warn
 from datetime import datetime
 
+from six.moves import range
 from six.moves.urllib.parse import urlsplit, urlunsplit
 
 from logilab.mtconverter import xml_escape
@@ -67,7 +68,7 @@
                                 {'y': self.eid})
         if skipeids is None:
             skipeids = set()
-        for i in xrange(len(rset)):
+        for i in range(len(rset)):
             eid = rset[i][0]
             if eid in skipeids:
                 continue