projects
/
ganeti-local
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0b5ad33
)
cleanup: WorkerPool, wrong variable name
author
Iustin Pop
<iustin@google.com>
Sun, 14 Dec 2008 12:04:05 +0000
(12:04 +0000)
committer
Iustin Pop
<iustin@google.com>
Sun, 14 Dec 2008 12:04:05 +0000
(12:04 +0000)
Quoting Michael: "why is this even working?"
Reviewed-by: imsnah,amishchenko
lib/workerpool.py
patch
|
blob
|
history
diff --git
a/lib/workerpool.py
b/lib/workerpool.py
index
3a07165
..
0c9fa29
100644
(file)
--- a/
lib/workerpool.py
+++ b/
lib/workerpool.py
@@
-214,7
+214,7
@@
class WorkerPool(object):
"""
self._lock.acquire()
try:
- return self._ShouldWorkerTerminateUnlocked(self)
+ return self._ShouldWorkerTerminateUnlocked(worker)
finally:
self._lock.release()