瀏覽代碼

Fixes typo

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

+ 1 - 1
celery/worker/consumer.py

@@ -536,7 +536,7 @@ class BlockingConsumer(Consumer):
         self.task_consumer.consume()
 
         debug('Ready to accept tasks!')
-        ns = self.ns
+        ns = self.namespace
 
         while ns.state != CLOSE and self.connection:
             self.maybe_shutdown()