Fix product import for EFI (#635873)
Ack.
On Mon, 2010-09-20 at 16:05 -0700, Brian C. Lane wrote:
> 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
" % (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)
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
|