def get_writer(prefix, config, db):
    for writer in iter_entry_points(group='moai.format', name=prefix):
        return writer.load()(prefix, config, db)
    else:
        raise ValueError(prefix % 'No such metadata format registered: %s')
dataset/ETHPy150Open infrae/moai/moai/oai.py/get_writer/swapped operands of `%`