예제 #1
0
파일: repodb.py 프로젝트: aligulle1/inary
    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()
예제 #2
0
파일: repodb.py 프로젝트: Pardus-Linux/pisi
    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()
예제 #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()
예제 #4
0
파일: repodb.py 프로젝트: zaxebo1/pisi
 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()