From c29b6e79f380c217d06a69259bff4a03e6d686d8 Mon Sep 17 00:00:00 2001 From: Chris Lumens Date: Wed, 14 Nov 2012 15:43:50 -0500 Subject: 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. --- pyanaconda/ui/gui/spokes/storage.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'pyanaconda') 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", -- cgit