소스 검색

Evaluate list

Ask Solem 12 년 전
부모
커밋
41b7e5d574
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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)