Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
itminedu
snf-ganeti
Commits
ad1bf20c
Commit
ad1bf20c
authored
Dec 14, 2008
by
Iustin Pop
Browse files
cleanup: use _ for unused loop counter
Reviewed-by: amishchenko
parent
805f0c07
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/workerpool.py
View file @
ad1bf20c
...
...
@@ -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
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment