浏览代码

Fixes _apply_result AttributeError

Ask Solem 11 年之前
父节点
当前提交
fe6654428d
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      celery/worker/job.py

+ 1 - 0
celery/worker/job.py

@@ -147,6 +147,7 @@ class Request(object):
         self.task = task or self.app.tasks[name]
         self.acknowledged = self._already_revoked = False
         self.time_start = self.worker_pid = self._terminate_on_ack = None
+        self._apply_result = None
         self._tzlocal = None
 
         # timezone means the message is timezone-aware, and the only timezone