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

[PATCH f14-branch master] Fix product import for EFI (#635873)



product.py is under pyanaconda, so import from there.
---
 pyanaconda/booty/x86.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/pyanaconda/booty/x86.py b/pyanaconda/booty/x86.py
index 93c0a59..bb37f73 100644
--- a/pyanaconda/booty/x86.py
+++ b/pyanaconda/booty/x86.py
@@ -281,7 +281,7 @@ class x86BootloaderInfo(efiBootloaderInfo):
         f.write("#boot=/dev/%s\n" % (grubTarget))
 
         if iutil.isEfi():
-            from product import productName
+            from pyanaconda.product import productName
             # Map the target device to the full EFI path
             if self.getEfiProductPath(productName):
                 (n, pn) = getDiskPart(bootDevs[0], self.storage)
-- 
1.7.2.3


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