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

[PATCH] Check if the potential dep is in done, not the leaf. (#728891)



---
 pyanaconda/bootloader.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/pyanaconda/bootloader.py b/pyanaconda/bootloader.py
index 8ab6390..73ef393 100644
--- a/pyanaconda/bootloader.py
+++ b/pyanaconda/bootloader.py
@@ -794,7 +794,7 @@ class BootLoader(object):
                           "rd.dm.uuid": "rd.dm=0"}
         for device in dracut_devices:
             for dep in self.storage.devices:
-                if device in done:
+                if dep in done:
                     continue
 
                 if device != dep and not device.dependsOn(dep):
-- 
1.7.3.4


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