def publish(env, target, output_path, credentials=None, **extra):
    url = urls.url_parse(text_type(target))
    publisher = env.publishers.get(url.scheme)
    if publisher is None:
        raise PublishError(url.scheme % '"%s" is an unknown scheme.')
    return publisher(env, output_path).publish(url, credentials, **extra)
dataset/ETHPy150Open lektor/lektor/lektor/publisher.py/publish/swapped operands of `%`