Преглед на файлове

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