Revision be1ba2bd

b/lib/bdev.py
2295 2295
  device = DEV_MAP[dev_type](unique_id, children)
2296 2296
  if not device.Attach():
2297 2297
    device.Assemble()
2298
  if not device.Attach():
2299
    raise errors.BlockDeviceError("Can't find a valid block device for"
2300
                                  " %s/%s/%s" %
2301
                                  (dev_type, unique_id, children))
2298
    if not device.Attach():
2299
      raise errors.BlockDeviceError("Can't find a valid block device for"
2300
                                    " %s/%s/%s" %
2301
                                    (dev_type, unique_id, children))
2302 2302
  return device
2303 2303

  
2304 2304

  

Also available in: Unified diff