diff options
author | Chris Lumens <clumens@redhat.com> | 2012-11-14 15:43:50 -0500 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2012-11-14 16:09:34 -0500 |
commit | c29b6e79f380c217d06a69259bff4a03e6d686d8 (patch) | |
tree | 0e3ad9ff197144109fdfb7df9a696479e74a47ce /pyanaconda | |
parent | 84d1e4e875ed49660ccbb62c9647ebe5a65024a2 (diff) | |
download | anaconda-c29b6e79f380c217d06a69259bff4a03e6d686d8.tar.gz anaconda-c29b6e79f380c217d06a69259bff4a03e6d686d8.tar.xz anaconda-c29b6e79f380c217d06a69259bff4a03e6d686d8.zip |
Include hidden disks in the storage spoke's list of devices (#875475).
Otherwise, previously unselected disks on the storage overview will never
be allowed to be selected.
Diffstat (limited to 'pyanaconda')
-rw-r--r-- | pyanaconda/ui/gui/spokes/storage.py | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/pyanaconda/ui/gui/spokes/storage.py b/pyanaconda/ui/gui/spokes/storage.py index e9ce0c538..c5b7fcfa3 100644 --- a/pyanaconda/ui/gui/spokes/storage.py +++ b/pyanaconda/ui/gui/spokes/storage.py @@ -92,10 +92,11 @@ class FakeDisk(object): def getDisks(devicetree, fake=False): if not fake: - disks = [d for d in devicetree.devices if d.isDisk and - not d.format.hidden and - not (d.protected and - d.removable)] + devices = devicetree.devices + devicetree._hidden + disks = [d for d in devices if d.isDisk and + not d.format.hidden and + not (d.protected and + d.removable)] else: disks = [] disks.append(FakeDisk("sda", size=300000, free=10000, serial="00001", |