Revision f1501b3f lib/workerpool.py
b/lib/workerpool.py | ||
---|---|---|
305 | 305 |
|
306 | 306 |
elif current_count < num_workers: |
307 | 307 |
# Create (num_workers - current_count) new workers |
308 |
for _ in xrange(num_workers - current_count):
|
|
308 |
for _ in range(num_workers - current_count): |
|
309 | 309 |
worker = self._worker_class(self, self._NewWorkerIdUnlocked()) |
310 | 310 |
self._workers.append(worker) |
311 | 311 |
worker.start() |
Also available in: Unified diff