projects
/
ganeti-local
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
805f0c0
)
cleanup: use _ for unused loop counter
author
Iustin Pop
<iustin@google.com>
Sun, 14 Dec 2008 12:04:13 +0000
(12:04 +0000)
committer
Iustin Pop
<iustin@google.com>
Sun, 14 Dec 2008 12:04:13 +0000
(12:04 +0000)
Reviewed-by: amishchenko
lib/workerpool.py
patch
|
blob
|
history
diff --git
a/lib/workerpool.py
b/lib/workerpool.py
index
0c9fa29
..
54b3fb7
100644
(file)
--- a/
lib/workerpool.py
+++ b/
lib/workerpool.py
@@
-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()