We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 94afed8 commit d998975Copy full SHA for d998975
py_trees/composites.py
@@ -727,7 +727,7 @@ def tick(self) -> typing.Iterator[behaviour.Behaviour]:
727
new_status = common.Status.FAILURE
728
except StopIteration:
729
if type(self.policy) is common.ParallelPolicy.SuccessOnAll:
730
- if all([c.status == common.Status.SUCCESS for c in self.children]):
+ if all(c.status == common.Status.SUCCESS for c in self.children):
731
new_status = common.Status.SUCCESS
732
self.current_child = self.children[-1]
733
elif type(self.policy) is common.ParallelPolicy.SuccessOnOne:
0 commit comments