소스 검색

AsyncResult.collect must respect intermediate argument. Closes #917

Ask Solem 12 년 전
부모
커밋
83bd4ef32e
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      celery/result.py

+ 1 - 1
celery/result.py

@@ -149,7 +149,7 @@ class AsyncResult(ResultBase):
             [0, 1, 4, 9, 16, 25, 36, 49, 64, 81]
 
         """
-        for _, R in self.iterdeps():
+        for _, R in self.iterdeps(intermediate=intermediate):
             yield R, R.get(**kwargs)
 
     def get_leaf(self):