Revision 2c9fa1ff lib/cmdlib.py

b/lib/cmdlib.py
7213 7213
                 utils.CommaJoin(ial.result))
7214 7214

  
7215 7215
  def CheckArguments(self):
7216
    if self.op.disks and ht.TPositiveInt(self.op.disks[0]):
7216
    if self.op.disks and ht.TNonNegativeInt(self.op.disks[0]):
7217 7217
      # Normalize and convert deprecated list of disk indices
7218 7218
      self.op.disks = [(idx, {}) for idx in sorted(frozenset(self.op.disks))]
7219 7219

  

Also available in: Unified diff