def get_next_sibling(self):
        if hasattr(self, '_parent'):
            if self._parent:
                siblings = list(self._parent.get_children())
            else:
                siblings = [self]
            try:
                return siblings[siblings.index(self) + 1]
            except __HOLE__:
                return None
        return super(Node, self).get_next_sibling()
dataset/ETHPy150Open fusionbox/django-widgy/widgy/models/base.py/Node.get_next_sibling