web/views/cwuser.py
changeset 10609 e2d8e81bfe68
parent 10033 b3a1d15965d9
child 10666 7f6b5f023884
--- a/web/views/cwuser.py	Tue Sep 15 15:07:13 2015 +0200
+++ b/web/views/cwuser.py	Tue Sep 15 16:56:57 2015 +0200
@@ -22,6 +22,8 @@
 
 from hashlib import sha1 # pylint: disable=E0611
 
+from six.moves import range
+
 from logilab.mtconverter import xml_escape
 
 from cubicweb import tags
@@ -64,7 +66,7 @@
 <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
          xmlns:rdfs="http://www.w3org/2000/01/rdf-schema#"
          xmlns:foaf="http://xmlns.com/foaf/0.1/"> '''% self._cw.encoding)
-        for i in xrange(self.cw_rset.rowcount):
+        for i in range(self.cw_rset.rowcount):
             self.cell_call(i, 0)
         self.w(u'</rdf:RDF>\n')