web/views/owl.py
changeset 10609 e2d8e81bfe68
parent 8190 2a3c1b787688
child 10666 7f6b5f023884
--- a/web/views/owl.py	Tue Sep 15 15:07:13 2015 +0200
+++ b/web/views/owl.py	Tue Sep 15 16:56:57 2015 +0200
@@ -21,6 +21,8 @@
 __docformat__ = "restructuredtext en"
 _ = unicode
 
+from six.moves import range
+
 from logilab.mtconverter import TransformError, xml_escape
 
 from cubicweb.view import StartupView, EntityView
@@ -166,7 +168,7 @@
 
     def call(self):
         self.w(OWL_OPENING_ROOT % {'appid': self._cw.vreg.schema.name})
-        for i in xrange(self.cw_rset.rowcount):
+        for i in range(self.cw_rset.rowcount):
             self.cell_call(i, 0)
         self.w(OWL_CLOSING_ROOT)