def _get_bitbucket_download_url(revision, default_repo):
    if revision.startswith("http"):
        url = revision
    else:
        url = "%s/get/%s.tar.gz" % (default_repo, revision)
    return url
dataset/ETHPy150Open chapmanb/cloudbiolinux/cloudbio/custom/shared.py/_get_bitbucket_download_url/original