summaryrefslogtreecommitdiffstats
path: root/storage/formats/fs.py
diff options
context:
space:
mode:
authorDavid Lehman <dlehman@redhat.com>2009-04-03 22:42:54 -0500
committerDavid Lehman <dlehman@redhat.com>2009-04-06 11:19:37 -0500
commitdbdd64faad98d1ac3fe28e6bd918fcdbad5c323e (patch)
treed60f579c8993fe5831676e4417d8ee89f2d96183 /storage/formats/fs.py
parent668e77e0185c7ba06c2703596a10426653585cb9 (diff)
downloadanaconda-dbdd64faad98d1ac3fe28e6bd918fcdbad5c323e.tar.gz
anaconda-dbdd64faad98d1ac3fe28e6bd918fcdbad5c323e.tar.xz
anaconda-dbdd64faad98d1ac3fe28e6bd918fcdbad5c323e.zip
Don't traceback from failure finding minimum fs size. (#494070)
Diffstat (limited to 'storage/formats/fs.py')
-rw-r--r--storage/formats/fs.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/storage/formats/fs.py b/storage/formats/fs.py
index 8b54a8265..0e155eb6f 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