def get_key(self, ctxt, key_id, **kwargs):
        if ctxt is None:
            raise exception.Forbidden()

        return self.keys[key_id]
Adds an ignore to the channel ignore list.
dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/keymgr/mock_key_mgr.py/MockKeyManager.get_key--crossover with--dataset/ETHPy150Open ProgVal/Limnoria/src/ircdb.py/IrcChannel.addIgnore