summaryrefslogtreecommitdiffstats
path: root/textw
diff options
context:
space:
mode:
authorMike Fulbright <msf@redhat.com>2001-07-18 20:56:08 +0000
committerMike Fulbright <msf@redhat.com>2001-07-18 20:56:08 +0000
commit2839b764b0fe0118b2056f30577c6dbf6ca879e9 (patch)
tree6815acc4927babb817ccdee3178b52cd34e948cf /textw
parent075ad29c03ce0ac667a5c07ac92ea62a0f5f309d (diff)
downloadanaconda-2839b764b0fe0118b2056f30577c6dbf6ca879e9.tar.gz
anaconda-2839b764b0fe0118b2056f30577c6dbf6ca879e9.tar.xz
anaconda-2839b764b0fe0118b2056f30577c6dbf6ca879e9.zip
fix for bug 49200
Diffstat (limited to 'textw')
-rw-r--r--textw/partition_text.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/textw/partition_text.py b/textw/partition_text.py
index 498447b63..0925560ef 100644
--- a/textw/partition_text.py
+++ b/textw/partition_text.py
@@ -786,6 +786,13 @@ class PartitionWindow:
else:
request.format = 0
+ if request.raidlevel == "RAID0" and request.raidspares > 0:
+ self.intf.messageWindow(_("Too many spares"),
+ _("The maximum number of spares with "
+ "a RAID0 array is 0."))
+ continue
+
+
err = sanityCheckRaidRequest(self.partitions, request)
if err:
self.intf.messageWindow(_("Error With Request"),