pyparted now trhows an IOException when it does not recognize the part. table, so catch that. This fixes the activation of dmraid sets with the new pyparted --- device.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/device.py b/device.py index 2d26b52..1c0d7f3 100644 --- a/device.py +++ b/device.py @@ -758,7 +758,7 @@ class RaidSet: dev.open() try: disk = _parted.Disk(device=dev) - except _parted.DiskException, msg: + except (_parted.DiskException,_parted.IOException), msg: dev.close() del dev return -- 1.6.1.3 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list