[PATCH] Filter UI: don't show cciss controllers without sets

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

 



---
 iw/filter_gui.py |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/iw/filter_gui.py b/iw/filter_gui.py
index 3b6f573..a0f6704 100644
--- a/iw/filter_gui.py
+++ b/iw/filter_gui.py
@@ -586,6 +586,10 @@ class FilterWindow(InstallWindow):
             except (_ped.IOException, _ped.DeviceException):
                 continue
             d["XXX_SIZE"] = int(partedDevice.getSize())
+            # cciss controllers, without any sets defined, show up as a 0 size
+            # blockdev, ignore these
+            if d["XXX_SIZE"] == 0:
+                continue
 
             # This isn't so great, but for iSCSI devices the path contains a lot
             # of useful identifiying info that should be displayed.
-- 
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