bugfix: iterate in a python 3 compatible way

This commit is contained in:
Steven Hazel
2015-11-18 13:34:39 -08:00
parent 09d79ace35
commit 3140873f0a

View File

@@ -375,7 +375,7 @@ class LoadScheduling:
# distribute tests round-robin up to the batch size (or until we run out)
nodes = itertools.cycle(self.nodes)
for i in xrange(initial_batch):
for i in range(initial_batch):
self._send_tests(nodes.next(), 1)
if not self.pending: