def get_repo_url(self, repo): if not self.has_repo(repo): raise RepoError(_("Repository %s does not exist.") % repo) urifile_path = pisi.util.join_path(ctx.config.index_dir(), repo, "uri") uri = open(urifile_path, "r").read() return uri.rstrip()
def get_repo_url(self, repo): urifile_path = pisi.util.join_path(ctx.config.index_dir(), repo, "uri") uri = open(urifile_path, "r").read() return uri.rstrip()