Commit 8b0f8857 authored by Grégory Wisniewski's avatar Grégory Wisniewski

Use xrange() instead of range()

git-svn-id: https://svn.erp5.org/repos/neo/trunk@1738 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent a05fde35
......@@ -36,7 +36,7 @@ class VerificationHandler(BaseMasterHandler):
app, pt = self.app, self.app.pt
if not offset_list:
# all is requested
offset_list = range(0, pt.getPartitions())
offset_list = xrange(0, self.app.pt.getPartitions())
row_list = []
try:
for offset in offset_list:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment