def select_mailbox(result, proto):
    # Select which mailbox we care about.
    mbox = filter(lambda x: x[2] in settings.EMAIL_GATEWAY_IMAP_FOLDER, result)[0][2]
    return proto.select(mbox).addCallback(examine_mailbox, proto, result)
dataset/ETHPy150Open zulip/zulip/zerver/management/commands/email-mirror.py/select_mailbox/swapped operands of `in`