Revision 515207af

b/lib/cmdlib.py
4028 4028
        instance = self.cfg.GetInstanceInfo(self.cfg.ExpandInstanceName(name))
4029 4029
        if instance is None:
4030 4030
          raise errors.OpPrereqError("No such instance name '%s'" % name)
4031
      self.wanted_instances.append(instance)
4031
        self.wanted_instances.append(instance)
4032 4032
    else:
4033 4033
      self.wanted_instances = [self.cfg.GetInstanceInfo(name) for name
4034 4034
                               in self.cfg.GetInstanceList()]

Also available in: Unified diff