diff options
-rw-r--r-- | textw/bootloader_text.py | 6 | ||||
-rw-r--r-- | textw/network_text.py | 1 |
2 files changed, 4 insertions, 3 deletions
diff --git a/textw/bootloader_text.py b/textw/bootloader_text.py index 7cd537b42..d0d53730f 100644 --- a/textw/bootloader_text.py +++ b/textw/bootloader_text.py @@ -139,7 +139,7 @@ class BootloaderAppendWindow: class BootloaderLocationWindow: def __call__(self, screen, anaconda): - if anaconda.id.dispatch.stepInSkipList("instbootloader"): return INSTALL_NOOP + if anaconda.dispatch.stepInSkipList("instbootloader"): return INSTALL_NOOP choices = anaconda.id.fsset.bootloaderChoices(anaconda.id.diskset, anaconda.id.bootloader) if len(choices.keys()) == 1: @@ -252,8 +252,8 @@ class BootloaderImagesWindow: self.bl = anaconda.id.bootloader - images = bl.images.getImages() - default = bl.images.getDefault() + images = self.bl.images.getImages() + default = self.bl.images.getDefault() listboxLabel = Label( "%-7s %-25s %-12s" % ( _("Default"), _("Boot label"), _("Device"))) diff --git a/textw/network_text.py b/textw/network_text.py index 945569788..953bd8cc5 100644 --- a/textw/network_text.py +++ b/textw/network_text.py @@ -22,6 +22,7 @@ from network import isPtpDev, anyUsingDHCP, sanityCheckIPString from network import sanityCheckHostname from snack import * from constants_text import * +from constants import * from rhpl.translate import _ def badIPDisplay(screen, the_ip): |