'Delete all the nodes from the tree'

def recursive_delete(self, path):

    for child in self.get_children_paths(path):
        fp = ('%s/%s' % (path, child)).replace('//', '/')
        self.recursive_delete(fp)
    self.delete(path)
