projects
/
ganeti-local
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Unify the “--backend-parameters” option
[ganeti-local]
/
lib
/
workerpool.py
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
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()
worker = self._worker_class(self, self._NewWorkerIdUnlocked())
self._workers.append(worker)
worker.start()