瀏覽代碼

Fixes typo app.clock.lock -> app.clock.mutex

Ask Solem 11 年之前
父節點
當前提交
4323144a9e
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      celery/worker/components.py

+ 1 - 1
celery/worker/components.py

@@ -86,7 +86,7 @@ class Hub(bootsteps.StartStopStep):
 
     def _patch_thread_primitives(self, w):
         # make clock use dummy lock
-        w.app.clock.lock = DummyLock()
+        w.app.clock.mutex = DummyLock()
         # multiprocessing's ApplyResult uses this lock.
         try:
             from billiard import pool