Update _lift_children docstring.
This commit is contained in:
parent
1a53af8821
commit
b59c2700db
1 changed files with 2 additions and 1 deletions
|
@ -78,7 +78,8 @@ class GroupableMixin:
|
||||||
def _lift_children(self):
|
def _lift_children(self):
|
||||||
'''
|
'''
|
||||||
If this object has parents, the parents adopt all of its children.
|
If this object has parents, the parents adopt all of its children.
|
||||||
Otherwise the parental relationship is simply deleted.
|
Otherwise, this object is at the root level, so the parental
|
||||||
|
relationship is simply deleted and the children become root level.
|
||||||
'''
|
'''
|
||||||
children = self.get_children()
|
children = self.get_children()
|
||||||
if not children:
|
if not children:
|
||||||
|
|
Loading…
Reference in a new issue