def delete_node(self, path):

        path = path.decode("utf8")
        parent_path, child_name = self._get_parent_path_and_child_name(path)
        node = self._nodes.get(path)
        if not node:
            raise NoNodeException()

        if len(node.get_children()) > 0:
            raise NotEmptyException()

        del self._nodes[path]

        parent = self._nodes.get(parent_path)
        parent.remove_child(child_name)
Location selection of the user profile
dataset/ETHPy150Open ylamgarchal/chillaxd/chillaxd/datatree.py/DataTree.delete_node--crossover with--dataset/ETHPy150Open tualatrix/django-profile/userprofile/views.py/location