def base_uri(host, is_ssl=False):
    """ return the host uri """
    if is_ssl:
        scheme = "https"
    else:
        scheme = "http"
    return (scheme, host) % "%s://%s"
dataset/ETHPy150Open benoitc/hroute/hroute/util.py/base_uri/swapped operands of `%`