summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2011-10-05 10:50:07 -0400
committerChris Lumens <clumens@redhat.com>2011-10-06 13:33:30 -0400
commit5ae2be6c49a26cbe2d42c9059c4d2ef69722a21f (patch)
treee949437b7fc8ae3e9c420affa97758af9630796f
parent4f6d1f438e44d48a133ffa9a750a3ff9d1782aff (diff)
downloadanaconda-5ae2be6c49a26cbe2d42c9059c4d2ef69722a21f.tar.gz
anaconda-5ae2be6c49a26cbe2d42c9059c4d2ef69722a21f.tar.xz
anaconda-5ae2be6c49a26cbe2d42c9059c4d2ef69722a21f.zip
Remove some raid error checking pykickstart can do for us.
-rw-r--r--pyanaconda/kickstart.py7
1 files changed, 0 insertions, 7 deletions
diff --git a/pyanaconda/kickstart.py b/pyanaconda/kickstart.py
index 970b64434..35a3d0133 100644
--- a/pyanaconda/kickstart.py
+++ b/pyanaconda/kickstart.py
@@ -959,13 +959,6 @@ class RaidData(commands.raid.F15_RaidData):
raidmems.append(dev)
- if not self.preexist:
- if len(raidmems) == 0:
- raise KickstartValueError, formatErrorMsg(self.lineno, msg="RAID Partition defined without any RAID members")
-
- if self.level == "":
- raise KickstartValueError, formatErrorMsg(self.lineno, msg="RAID Partition defined without RAID level")
-
# Now get a format to hold a lot of these extra values.
kwargs["format"] = getFormat(type,
label=self.label,