diff options
author | David Lehman <dlehman@redhat.com> | 2010-01-19 10:41:59 -0600 |
---|---|---|
committer | David Lehman <dlehman@redhat.com> | 2010-01-21 15:11:50 -0600 |
commit | df5de61bf94003166056180c74e804f6994b888b (patch) | |
tree | 34787d946a731faf38164d34f9acc33939748eca /iw | |
parent | 2913c16704a3ec9cde078b89d10f68de9abfafcd (diff) | |
download | anaconda-df5de61bf94003166056180c74e804f6994b888b.tar.gz anaconda-df5de61bf94003166056180c74e804f6994b888b.tar.xz anaconda-df5de61bf94003166056180c74e804f6994b888b.zip |
List biosraids w/ disks and don't include them w/ md arrays in partgui.
Diffstat (limited to 'iw')
-rw-r--r-- | 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 094ada072..981b659e4 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) |