def _handle_message(self, message):
        if self.max_tries and message.attempts > self.max_tries:
            msg = "giving up on message '%s' after max tries %d"
            self.logger.warning((message.id, self.max_tries) % msg)
            self.on_giving_up.send(self, message=message)
            return message.finish()

        self.on_message.send(self, message=message)

        if not self.is_running:
            return

        if self.async:
            return

        if message.has_responded():
            return

        message.finish()
dataset/ETHPy150Open wtolson/gnsq/gnsq/reader.py/Reader._handle_message/swapped operands of `%`