def on_connection_open(self, client):
        """
        AMQP Connection Open event handler.
        TODO: Should this be in another class?
        """
        log.debug("In Node.on_connection_open")
        log.debug(str(client) % "client: %s")
        client.add_on_close_callback(self.on_connection_close)
        self.client = client
        self.start_node()
dataset/ETHPy150Open ooici/pyon/pyon/net/messaging.py/BaseNode.on_connection_open/swapped operands of `%`