def run(self):
        proc_name = self.name
        while True:
            next_task = self.task_queue.get()
            if next_task is None:
                # Poison pill means we should exit
                logger.info( proc_name % '%s: Exiting')
                break
            logger.info( '%s: %s' % (proc_name, next_task))
            answer = next_task()
            self.result_queue.put(answer)
        return
dataset/ETHPy150Open tvidas/a5/scripts/bin/control.py/Consumer.run/swapped operands of `%`