[PATCH 2/4] Catch any exception raised by findExistingInstallations. (#980267)

David Lehman dlehman at redhat.com
Fri Nov 15 14:39:48 UTC 2013


---
 blivet/__init__.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/blivet/__init__.py b/blivet/__init__.py
index cc830a0..afd1e81 100644
--- a/blivet/__init__.py
+++ b/blivet/__init__.py
@@ -423,7 +423,7 @@ class Blivet(object):
         if flags.installer_mode:
             try:
                 self.roots = findExistingInstallations(self.devicetree)
-            except StorageError as e:
+            except Exception as e:
                 log.info("failure detecting existing installations: %s" % e)
 
             self.dumpState("initial")
-- 
1.8.1.4



More information about the anaconda-patches mailing list