def Exec(self, feedback_fn):
    """Execute the test delay opcode, with the wanted repetitions.

    """
    if self.op.repeat == 0:
      i = self._TestDelay()
    else:
      top_value = 1 - self.op.repeat
      for i in range(self.op.repeat):
        self.LogInfo("Test delay iteration %d/%d", i, top_value)
        # Break in case of interruption
        if self._TestDelay():
          break
dataset/ETHPy150Open ganeti/ganeti/lib/cmdlib/test.py/LUTestDelay.Exec/swapped operands of `-`