We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6113323 commit 6c8e0c9Copy full SHA for 6c8e0c9
splitio/tasks/util/workerpool.py
@@ -225,7 +225,4 @@ def __init__(self, tasks):
225
226
async def await_completion(self):
227
await asyncio.gather(*[task.await_completion() for task in self._tasks])
228
- for task in self._tasks:
229
- if task._failed:
230
- return False
231
- return True
+ return not any(task._failed for task in self._tasks)
0 commit comments