Exemplo n.º 1
0
def arch_filled_url(url):
    from indexed_repo.dist_naming import cleanup_reponame

    return cleanup_reponame(url.replace('{ARCH}', plat.arch))
Exemplo n.º 2
0
def filled_url(url):
    from indexed_repo.dist_naming import cleanup_reponame

    return cleanup_reponame(url.replace('{ARCH}', plat.arch)
                               .replace('{SUBDIR}', plat.subdir))