FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > ArchLinux > ArchLinux Development

 
 
LinkBack Thread Tools
 
Old 01-24-2010, 09:37 AM
Hans de Goede
 
Default Remove MDRaidArrayDevice biosraid property

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
 
Old 01-25-2010, 08:01 AM
Ales Kozumplik
 
Default 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
 

Thread Tools




All times are GMT. The time now is 07:29 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org