[PATCH 12/15] Use isys.removableDriveDict() for exceptionDisks.

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

 



---
 partedUtils.py |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/partedUtils.py b/partedUtils.py
index 9e47788..b5bec5a 100644
--- a/partedUtils.py
+++ b/partedUtils.py
@@ -1342,10 +1342,8 @@ class DiskSet:
             self.refreshDevices()
             isys.flushDriveDict()
 
-        drives = isys.floppyDriveDict().items()
-
-        for d in isys.hardDriveDict().items():
-            if isys.driveUsesModule(d[0], ["usb-storage", "ub", "sbp2", "firewire-sbp2"]):
+        drives = []
+        for d in isys.removableDriveDict().items():
                 func = lambda p: not p.get_flag(parted.PARTITION_RAID) and not p.get_flag(parted.PARTITION_LVM) and p.fs_type.name in ["ext3", "ext2", "vfat"]
 
                 disk = self.disks[d[0]]
-- 
1.5.3.4

_______________________________________________
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