def greenlet_report(self):
        """ This greenlet always runs in background to update current status
            in MongoDB every 10 seconds.

            Caution: it might get delayed when doing long blocking operations.
            Should we do this in a thread instead?
         """

        while True:
            try:
                self.report_worker()
            except Exception as e:  # pylint: disable=broad-except
                self.log.error(e % "When reporting: %s")
            finally:
                time.sleep(self.config["report_interval"])
dataset/ETHPy150Open pricingassistant/mrq/mrq/worker.py/Worker.greenlet_report/swapped operands of `%`