summaryrefslogtreecommitdiffstats
path: root/partitioning.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2001-08-11 18:22:21 +0000
committerJeremy Katz <katzj@redhat.com>2001-08-11 18:22:21 +0000
commit983c3bfd568e30ad64e7e8d9d568d1559702d1f6 (patch)
tree941690ecfe9522ef35e2b3d7910b8e6fea08e49e /partitioning.py
parentea1f906a82e1eeae9b2595b2c47cc35952e02c8c (diff)
downloadanaconda-983c3bfd568e30ad64e7e8d9d568d1559702d1f6.tar.gz
anaconda-983c3bfd568e30ad64e7e8d9d568d1559702d1f6.tar.xz
anaconda-983c3bfd568e30ad64e7e8d9d568d1559702d1f6.zip
size checks don't really matter if we're not formatting (51519)
Diffstat (limited to 'partitioning.py')
-rw-r--r--partitioning.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/partitioning.py b/partitioning.py
index c1a83e511..c171d7805 100644
--- a/partitioning.py
+++ b/partitioning.py
@@ -446,6 +446,9 @@ def doPartitionSizeCheck(newrequest):
if not newrequest.fstype:
return None
+ if not newrequest.format:
+ return None
+
# XXX need to figure out the size for partitions specified by cyl range
if newrequest.size and newrequest.size > newrequest.fstype.getMaxSize():
return (_("The size of the %s partition (size = %s MB) "