소스 검색

Match the signature used in the rest of the code.

Ionel Cristian Mărieș 11 년 전
부모
커밋
9fc2ea88ce
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      celery/concurrency/base.py

+ 1 - 1
celery/concurrency/base.py

@@ -111,7 +111,7 @@ class BasePool(object):
     def maintain_pool(self, *args, **kwargs):
         pass
 
-    def terminate_job(self, pid):
+    def terminate_job(self, pid, signal=None):
         raise NotImplementedError(
             '{0} does not implement kill_job'.format(type(self)))