def update_server_info(repo="."): """Update server info files for a repository. :param repo: path to the repository """ r = open_repo(repo) server_update_server_info(r)
def update_server_info(repo="."): """Update server info files for a repository. :param repo: path to the repository """ with open_repo_closing(repo) as r: server_update_server_info(r)