Explorar o código

If this chain was in a group, the args from the group are already on self

Aaron McMillin %!s(int64=9) %!d(string=hai) anos
pai
achega
00551933e0
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      celery/canvas.py

+ 1 - 1
celery/canvas.py

@@ -407,7 +407,7 @@ class chain(Signature):
 
     def freeze(self, _id=None, group_id=None, chord=None, root_id=None):
         _, results = self._frozen = self.prepare_steps(
-            (), self.tasks, root_id, None, self.app, _id, group_id, chord,
+            self.args, self.tasks, root_id, None, self.app, _id, group_id, chord,
         )
         return results[-1]