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@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
01-25-2010, 08:01 AM
Ales Kozumplik
Remove MDRaidArrayDevice biosraid property
On 01/24/2010 11:37 AM, Hans de Goede wrote:
Now that MD BIOS RAID arrays have their own type, there is no longer a
need for the biosraid property.
Ack.
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list