def do_query(query, reconciliation_type):
    if reconciliation_type == 'legislators':
        return do_legislator_query(query)
    elif reconciliation_type == 'fec_ids':
        return do_fec_query(query, fuzzy=True)
    elif reconciliation_type == 'fec_ids_nofuzzy':
        return do_fec_query(query, fuzzy=False)
    else:
        raise Exception ((reconciliation_type) % "Invalid reconciliation type: %s")
dataset/ETHPy150Open sunlightlabs/read_FEC/fecreader/reconciliation/views.py/do_query/swapped operands of `%`