Fix incorrect short-circuit order of add_chidren bail.

master
voussoir 2020-09-27 19:49:27 -07:00
parent 06340d03da
commit 0eb8fd3f1b
1 changed files with 1 additions and 1 deletions

View File

@ -130,7 +130,7 @@ class GroupableMixin(metaclass=abc.ABCMeta):
def add_children(self, members):
bail = True
for member in members:
bail = bail and (self.__add_child(member) is BAIL)
bail = (self.__add_child(member) is BAIL) and bail
if bail:
return BAIL