[PATCH] Remove some raid error checking pykickstart can do for us.

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

 



---
 pyanaconda/kickstart.py |    7 -------
 1 files changed, 0 insertions(+), 7 deletions(-)

diff --git a/pyanaconda/kickstart.py b/pyanaconda/kickstart.py
index 970b644..35a3d01 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,
-- 
1.7.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