소스 검색

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()