Commit ad1bf20c authored by Iustin Pop's avatar Iustin Pop
Browse files

cleanup: use _ for unused loop counter

Reviewed-by: amishchenko
parent 805f0c07
......@@ -305,7 +305,7 @@ class WorkerPool(object):
elif current_count < num_workers:
# Create (num_workers - current_count) new workers
for i in xrange(num_workers - current_count):
for _ in xrange(num_workers - current_count):
worker = self._worker_class(self, self._NewWorkerIdUnlocked())
self._workers.append(worker)
worker.start()
......
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