def process(self, msg):
        self.cb_lock.acquire()
        if isinstance(msg, message.ChannelMessage) and \
        msg.getChannelNumber() == self.number:
            for callback in self.cb:
                try:
                    callback.process(msg)
                except:
                    pass  # Who cares?
        self.cb_lock.release()
dataset/ETHPy150Open mvillalba/python-ant/src/ant/core/node.py/Channel.process/original