Просмотр исходного кода

Add missing parameter to stub function.

David Strauss 14 лет назад
Родитель
Сommit
9b1a68db2f
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      celery/backends/base.py

+ 1 - 1
celery/backends/base.py

@@ -26,7 +26,7 @@ class BaseBackend(object):
         else:
         else:
             return self.prepare_value(result)
             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."""
         """Store the result and status of a task."""
         raise NotImplementedError(
         raise NotImplementedError(
                 "store_result is not supported by this backend.")
                 "store_result is not supported by this backend.")