diff options
author | Will Woods <wwoods@redhat.com> | 2009-04-17 16:14:16 -0400 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2009-04-17 16:32:16 -0400 |
commit | fc982ce3ae77d0ad8708a94a3d4ba46a4825773c (patch) | |
tree | 63b63bb64245f1ac4c76655205560742f49731f1 | |
parent | 7005258fe0c58c558e50080bd962e5953fdade7b (diff) | |
download | anaconda-fc982ce3ae77d0ad8708a94a3d4ba46a4825773c.tar.gz anaconda-fc982ce3ae77d0ad8708a94a3d4ba46a4825773c.tar.xz anaconda-fc982ce3ae77d0ad8708a94a3d4ba46a4825773c.zip |
Fix NameError traceback setting up bootloader in EFI installs
Gah. I failed to capture the complete traceback, but a quick
inspection of addNewEfiEntry() shows that there's no global 'storage'
name defined here. I'm guessing it's supposed to be 'self.storage' instead.
-rw-r--r-- | booty/bootloaderInfo.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/booty/bootloaderInfo.py b/booty/bootloaderInfo.py index 0bf295d44..b50a11a6c 100644 --- a/booty/bootloaderInfo.py +++ b/booty/bootloaderInfo.py @@ -558,9 +558,9 @@ class efiBootloaderInfo(bootloaderInfo): def addNewEfiEntry(self, instRoot): try: - bootdev = storage.fsset.mountpoints["/boot/efi"] + bootdev = self.storage.fsset.mountpoints["/boot/efi"] except KeyError: - bootdev = storage.devicetree.getDeviceByName("sda1") + bootdev = self.storage.devicetree.getDeviceByName("sda1") link = "%s%s/%s" % (instRoot, "/etc/", self.configname) if not os.access(link, os.R_OK): |