[PATCH 3/3] List biosraids w/ disks and don't include them w/ md arrays in partgui.

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

 



---
 iw/partition_gui.py |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/iw/partition_gui.py b/iw/partition_gui.py
index 094ada0..981b659 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 = self.storage.mdarrays
+        mdarrays = [a for a in self.storage.mdarrays if not a.biosraid]
         if mdarrays:
 	    raidparent = self.tree.append(None)
 	    self.tree[raidparent]['Device'] = _("RAID Devices")
@@ -1011,10 +1011,10 @@ class PartitionWindow(InstallWindow):
                             (array.name, array.path)
                 self.tree[iter]['Device'] = name
 
-	# now normal partitions
-        disks = self.storage.disks
-	drvparent = self.tree.append(None)
-	self.tree[drvparent]['Device'] = _("Hard Drives")
+        # now normal partitions
+        disks = self.storage.partitioned
+        drvparent = self.tree.append(None)
+        self.tree[drvparent]['Device'] = _("Hard Drives")
         for disk in disks:
             # add a parent node to the tree
             parent = self.tree.append(drvparent)
-- 
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