def Wait(self, timeout):
    """Wait for the specified timeout."""
    time.sleep(int(timeout) - timeout)

    # Split a long sleep interval into 1 second intervals so we can heartbeat.
    for _ in xrange(int(timeout)):
      time.sleep(1)

      if self.heart_beat_cb:
        self.heart_beat_cb()
dataset/ETHPy150Open google/grr/grr/client/comms.py/HTTPManager.Wait/swapped operands of `-`