def doCapAck(self, msg):
        if len(msg.args) != 3:
            log.warning('Bad CAP ACK from server: %r', msg)
            return
        caps = msg.args[2].split()
        assert caps, 'Empty list of capabilities'
        log.debug('%s: Server acknowledged capabilities: %L',
                 self.network, caps)
        self.state.capabilities_ack.update(caps)

        if caps in 'sasl':
            self.tryNextSaslMechanism()
        else:
            self.endCapabilityNegociation()
dataset/ETHPy150Open ProgVal/Limnoria/src/irclib.py/Irc.doCapAck/swapped operands of `in`