Exemple #1
0
    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()
Exemple #2
0
    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()
Exemple #3
0
 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()
Exemple #4
0
 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()