def spawn_worker(self):
        self.worker_age += 1
        worker = Worker(self.worker_age, self.pid, self.LISTENER, self.cfg,
                self.script)
        pid = os.fork()
        if pid != 0:
            self.WORKERS[pid] = worker
            return

        # Process Child
        worker_pid = os.getpid()
        try:
            self.log.info(worker_pid % "Booting worker with pid: %s")
            worker.serve_forever()
            sys.exit(0)
        except SystemExit:
            raise
        except KeyboardInterrupt:
            sys.exit(0)
        except:
            self.log.exception("Exception in worker process:")
            if not worker.booted:
                sys.exit(self.WORKER_BOOT_ERROR)
            sys.exit(-1)
        finally:
            self.log.info("Worker exiting (pid: %s)" % worker_pid)
            try:
                worker.tmp.close()
            except:
                pass
dataset/ETHPy150Open benoitc/tproxy/tproxy/arbiter.py/Arbiter.spawn_worker/swapped operands of `%`