cleanup: WorkerPool, wrong variable name
authorIustin Pop <iustin@google.com>
Sun, 14 Dec 2008 12:04:05 +0000 (12:04 +0000)
committerIustin 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

index 3a07165..0c9fa29 100644 (file)
@@ -214,7 +214,7 @@ class WorkerPool(object):
     """
     self._lock.acquire()
     try:
-      return self._ShouldWorkerTerminateUnlocked(self)
+      return self._ShouldWorkerTerminateUnlocked(worker)
     finally:
       self._lock.release()