Revision 3ae259d3 lib/backend.py

b/lib/backend.py
605 605

  
606 606
  """
607 607
  _CheckStorageParams(params, 1)
608
  excl_stor = bool(params[0])
608
  excl_stor = params[0]
609
  if not isinstance(params[0], bool):
610
    raise errors.ProgrammerError("Exclusive storage parameter is not"
611
                                 " boolean: '%s'." % excl_stor)
609 612
  return _GetVgInfo(name, excl_stor)
610 613

  
611 614

  

Also available in: Unified diff