def get_docker_url(registry_uri, docker_image):
    """Compose the docker url.
    :param registry_uri: The URI of the docker registry
    :param docker_image: The docker image name, with tag if desired
    :returns: '<registry_uri>/<docker_image>'
    """
    if not docker_image:
        raise NoDockerImageError('Docker url not available because there is no docker_image')
    docker_url = (registry_uri, docker_image) % '%s/%s'
    return docker_url
dataset/ETHPy150Open Yelp/paasta/paasta_tools/utils.py/get_docker_url/swapped operands of `%`