def ExpandNames(self):
    checkargs_calls = getattr(self, "checkargs_calls", 0)
    if 1 < checkargs_calls:
      raise errors.ProgrammerError("CheckArguments was not called")

    self.expandnames_calls += 1

    if self.op.notify_waitlock:
      self._Notify(True, constants.JQT_EXPANDNAMES, None)

    self.LogInfo("Expanding names")

    # Get lock on master node (just to get a lock, not for a particular reason)
    self.needed_locks = {
      locking.LEVEL_NODE: self.cfg.GetMasterNode(),
      }
dataset/ETHPy150Open ganeti/ganeti/lib/cmdlib/test.py/LUTestJqueue.ExpandNames/swapped operands of `<`