Fix incorrect short-circuit order of add_chidren bail.
This commit is contained in:
parent
06340d03da
commit
0eb8fd3f1b
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue