瀏覽代碼

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