[PATCH 2/4] Remove MDRaidArrayDevice biosraid property

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

 



Now that MD BIOS RAID arrays have their own type, there is no longer a
need for the biosraid property.
---
 iw/partition_gui.py |    2 +-
 storage/devices.py  |    7 -------
 2 files changed, 1 insertions(+), 8 deletions(-)

diff --git a/iw/partition_gui.py b/iw/partition_gui.py
index 981b659..2e9be5f 100644
--- a/iw/partition_gui.py
+++ b/iw/partition_gui.py
@@ -1000,7 +1000,7 @@ class PartitionWindow(InstallWindow):
                     self.tree[iter]['IsLeaf'] = True
 
         # handle RAID next
-        mdarrays = [a for a in self.storage.mdarrays if not a.biosraid]
+        mdarrays = self.storage.mdarrays
         if mdarrays:
 	    raidparent = self.tree.append(None)
 	    self.tree[raidparent]['Device'] = _("RAID Devices")
diff --git a/storage/devices.py b/storage/devices.py
index f2ff639..ef920de 100644
--- a/storage/devices.py
+++ b/storage/devices.py
@@ -2828,13 +2828,6 @@ class MDRaidArrayDevice(StorageDevice):
         return "RAID%d Array" % self.level
 
     @property
-    def biosraid(self):
-        """ Is this a BIOS RAID related set? """
-        return self.type == "mdcontainer" or \
-               (len(self.devices) != 0 and \
-                self.devices[0].type == "mdcontainer")
-
-    @property
     def partitionable(self):
         return len(self.devices) != 0 and \
                self.devices[0].type == "mdcontainer"
-- 
1.6.5.2

_______________________________________________
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