[rhel6-branch] Gotta catch 'em all parted exceptions.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Resolves: rhbz#680248
---
 storage/devicetree.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/storage/devicetree.py b/storage/devicetree.py
index 5c213ff..c9f84cb 100644
--- a/storage/devicetree.py
+++ b/storage/devicetree.py
@@ -1271,7 +1271,7 @@ class DeviceTree(object):
                 try:
                     partitions_paths = [p.path
                                        for p in parted.Disk(device=parted.Device(path=path)).partitions]
-                except (_ped.IOException, _ped.DeviceException) as e:
+                except (_ped.IOException, _ped.DeviceException, _ped.DiskLabelException) as e:
                     log.error("Parted error scanning partitions on %s:" % path)
                     log.error(str(e))
                 # slice off the "/dev/" part, lvm filter cares only about the rest
-- 
1.7.3.3

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux