Revision e33c9e68 lib/cli.py

b/lib/cli.py
2651 2651
      else:
2652 2652
        raise errors.OpPrereqError("Missing size or adoption source for"
2653 2653
                                   " disk %d" % didx, errors.ECODE_INVAL)
2654
      if constants.IDISK_SPINDLES in ddict:
2655
        ddict[constants.IDISK_SPINDLES] = \
2656
          utils.ParseUnit(ddict[constants.IDISK_SPINDLES])
2657

  
2654 2658
      disks[didx] = ddict
2655 2659

  
2656 2660
  if opts.tags is not None:

Also available in: Unified diff