-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Fri, 15 Jan 2010, Peter Jones wrote:
devicetree.teardownAll() often causes storage errors which all get
ignored, but we've been enumerating them individually. use their
superclass instead.
---
storage/devicetree.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/storage/devicetree.py b/storage/devicetree.py
index 17700f6..99af7c6 100644
--- a/storage/devicetree.py
+++ b/storage/devicetree.py
@@ -1949,7 +1949,7 @@ class DeviceTree(object):
for device in self.leaves:
try:
device.teardown(recursive=True)
- except (DeviceError, DeviceFormatError, LVMError, MDRaidError) as e:
+ except StorageError as e:
log.info("teardown of %s failed: %s" % (device.name, e))
def setupAll(self):
Ack.
- --
David Cantrell <dcantrell@xxxxxxxxxx>
Red Hat / Honolulu, HI
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
iEYEARECAAYFAktVHZAACgkQ5hsjjIy1VklRnQCg5b69I3NBL2jbuSwmSETYK+mw
id8AoPYXm7g9nlyxc7Vf2DYa5M71bMpv
=yGIH
-----END PGP SIGNATURE-----
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list