소스 검색

bind() on Task instance was being called twice

Akshar Raaj 11 년 전
부모
커밋
7282b21209
1개의 변경된 파일0개의 추가작업 그리고 1개의 파일을 삭제
  1. 0 1
      celery/app/base.py

+ 0 - 1
celery/app/base.py

@@ -224,7 +224,6 @@ class Celery(object):
             '__doc__': fun.__doc__,
             '__module__': fun.__module__}, **options))()
         task = self._tasks[T.name]  # return global instance.
-        task.bind(self)
         return task
 
     def finalize(self):