Explorar o código

Add missing parameter to stub function.

David Strauss %!s(int64=14) %!d(string=hai) anos
pai
achega
9b1a68db2f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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.")