def HeartBeat(self):
    if self.locked:
      lease_time = config_lib.CONFIG["Worker.flow_lease_time"]
      if self.CheckLease() < 2 / lease_time:
        logging.info("%s: Extending Lease", self.session_id)
        self.UpdateLease(lease_time)

        self.UpdateKillNotification()
    else:
      logging.warning("%s is heartbeating while not being locked.", self.urn)
dataset/ETHPy150Open google/grr/grr/lib/flow.py/GRRFlow.HeartBeat/swapped operands of `/`