[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[rhel6-branch] Gotta catch 'em all parted exceptions.
- From: Ales Kozumplik <akozumpl redhat com>
- To: anaconda-devel-list redhat com
- Subject: [rhel6-branch] Gotta catch 'em all parted exceptions.
- Date: Thu, 3 Mar 2011 07:50:56 +0100
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
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]