def __getitem__(self, topic):
        try:
            channel = self.channels[topic]
        except __HOLE__:
            raise KeyError("%s channel isn't subscribed" % topic)
        return channel
dataset/ETHPy150Open benoitc/gaffer/gaffer/httpclient/websocket.py/GafferSocket.__getitem__