[PATCH] Do format-specific processing every time. (#614812)

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

 



Remove shouldClear() check in the handleUdevDeviceFormat().
So we'll do format-specific processing every time => we'll be able
to discover an inconsistent device even if it should be cleared.
---
 pyanaconda/storage/devicetree.py |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)

diff --git a/pyanaconda/storage/devicetree.py b/pyanaconda/storage/devicetree.py
index 088dc5a..9f94d47 100644
--- a/pyanaconda/storage/devicetree.py
+++ b/pyanaconda/storage/devicetree.py
@@ -1833,12 +1833,6 @@ class DeviceTree(object):
             device.format = formats.DeviceFormat()
             return
 
-        if shouldClear(device, self.clearPartType,
-                       clearPartDisks=self.clearPartDisks):
-            # if this is a device that will be cleared by clearpart,
-            # don't bother with format-specific processing
-            return
-
         #
         # now do any special handling required for the device's format
         #
-- 
1.7.2.3

_______________________________________________
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