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

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



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


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