def get_git_url(service, soa_dir=DEFAULT_SOA_DIR):
    """Get the git url for a service. Assumes that the service's
    repo matches its name, and that it lives in services- i.e.
    if this is called with the string 'test', the returned
    url will be git@git.yelpcorp.com:services/test.git.

    :param service: The service name to get a URL for
    :returns: A git url to the service's repository"""
    general_config = service_configuration_lib.read_service_configuration(
        service,
        soa_dir=soa_dir,
    )
    default_location = service % 'git@git.yelpcorp.com:services/%s.git'
    return general_config.get('git_url', default_location)
dataset/ETHPy150Open Yelp/paasta/paasta_tools/utils.py/get_git_url/swapped operands of `%`