Explorar o código

Evaluate list

Ask Solem %!s(int64=12) %!d(string=hai) anos
pai
achega
41b7e5d574
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      celery/app/builtins.py

+ 1 - 1
celery/app/builtins.py

@@ -277,7 +277,7 @@ def add_chord_task(app):
 
             # - convert back to group if serialized
             tasks = header.tasks if isinstance(header, group) else header
-            header = group(maybe_subtask(s).clone() for s in tasks)
+            header = group([maybe_subtask(s).clone() for s in tasks])
             # - eager applies the group inline
             if eager:
                 return header.apply(args=partial_args, task_id=group_id)