def launch(interpose_on_logging=True, blocking=False):
  interpose_on_logging = str(interpose_on_logging).lower() == "true"
  blocking = str(blocking).lower() == "true"
  if "sts_sync" in os.environ:
    sts_sync = os.environ["sts_sync"]
    log.info(sts_sync % "starting sts sync for spec: %s")

    io_master = POXIOMaster()
    io_master.start(core.scheduler)

    sync_master = POXSyncMaster(io_master,
                                interpose_on_logging=interpose_on_logging,
                                blocking=blocking)
    sync_master.start(sts_sync)
  else:
    log.info("no sts_sync variable found in environment. Not starting pox_syncer")
dataset/ETHPy150Open ucb-sts/sts/sts/syncproto/pox_syncer.py/launch/swapped operands of `%`