Kaynağa Gözat

Add missing parameter to stub function.

David Strauss 14 yıl önce
ebeveyn
işleme
9b1a68db2f
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      celery/backends/base.py

+ 1 - 1
celery/backends/base.py

@@ -26,7 +26,7 @@ class BaseBackend(object):
         else:
             return self.prepare_value(result)
 
-    def store_result(self, task_id, result, status):
+    def store_result(self, task_id, result, status, traceback=None):
         """Store the result and status of a task."""
         raise NotImplementedError(
                 "store_result is not supported by this backend.")