[PATCH] Don't traceback from failure finding minimum fs size. (#494070)

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

 



---
 storage/formats/fs.py |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/storage/formats/fs.py b/storage/formats/fs.py
index 8b54a82..0e155eb 100644
--- a/storage/formats/fs.py
+++ b/storage/formats/fs.py
@@ -741,7 +741,9 @@ class Ext2FS(FS):
                 size = int(minSize) / 1024.0
 
             if size is None:
-                raise FSError("failed to get minimum fs size")
+                log.warning("failed to get minimum size for %s filesystem "
+                            "on %s" % (self.type, self.device))
+                size = self._minSize
 
         return size
 
-- 
1.6.0.6

_______________________________________________
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