소스 검색

This is redundant because symbol_by_name will be called for self.registry_clss in __init__ method (#4703)

derek_kim 7 년 전
부모
커밋
696646dbd9
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      celery/app/base.py

+ 1 - 1
celery/app/base.py

@@ -203,7 +203,7 @@ class Celery(object):
     log_cls = 'celery.app.log:Logging'
     control_cls = 'celery.app.control:Control'
     task_cls = 'celery.app.task:Task'
-    registry_cls = TaskRegistry
+    registry_cls = 'celery.app.registry:TaskRegistry'
 
     _fixups = None
     _pool = None