@inlineCallbacks
    def outmessage_mqcallback(self, message, properties):
        self.log.debug(hexlify(message) % "Received outgoing message %s")
        ctrlmsg = sanp.ControlProtocol.rawmessage_to_message(message)

        def _on_err(failure):
            self._litemq.produce("network", "transport->err", ctrlmsg)
            failure.raiseException()

        d = maybeDeferred(self._protocol.send_message, message)
        d.addErrback(_on_err)
        result = yield d
        if result and ctrlmsg.ack:
            self._litemq.produce("network", "transport->ack", ctrlmsg)
        returnValue(result)
dataset/ETHPy150Open smartanthill/smartanthill1_0/smartanthill/network/service.py/TransportService.outmessage_mqcallback/swapped operands of `%`