diff -r 7fc548d9dd8e -r e2d8e81bfe68 web/views/idownloadable.py --- a/web/views/idownloadable.py Tue Sep 15 15:07:13 2015 +0200 +++ b/web/views/idownloadable.py Tue Sep 15 16:56:57 2015 +0200 @@ -22,6 +22,8 @@ __docformat__ = "restructuredtext en" _ = unicode +from six.moves import range + from logilab.mtconverter import BINARY_ENCODINGS, TransformError, xml_escape from logilab.common.deprecation import class_renamed, deprecated @@ -166,7 +168,7 @@ def call(self, **kwargs): rset = self.cw_rset - for i in xrange(len(rset)): + for i in range(len(rset)): self.w(u'
') self.wview(self.__regid__, rset, row=i, col=0, **kwargs) self.w(u'
')