--- a/devtools/testlib.py Tue Sep 15 15:07:13 2015 +0200
+++ b/devtools/testlib.py Tue Sep 15 16:56:57 2015 +0200
@@ -28,6 +28,7 @@
from warnings import warn
from itertools import chain
+from six.moves import range
from six.moves.urllib.parse import urlparse, parse_qs, unquote as urlunquote
import yams.schema
@@ -1182,7 +1183,7 @@
else:
rql = 'Any X WHERE X is %s' % etype
rset = req.execute(rql)
- for row in xrange(len(rset)):
+ for row in range(len(rset)):
if limit and row > limit:
break
# XXX iirk