summaryrefslogtreecommitdiffstats
path: root/textw
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2001-08-14 19:48:20 +0000
committerMatt Wilson <msw@redhat.com>2001-08-14 19:48:20 +0000
commiteb2dc6f30a3185156b67e8a24d97728921e8d3bd (patch)
treef4670d17d9d6c027a52e18b9035876dac06794c9 /textw
parented5305f2765d6f33e0f3ed16221ef312038889ee (diff)
downloadanaconda-eb2dc6f30a3185156b67e8a24d97728921e8d3bd.tar.gz
anaconda-eb2dc6f30a3185156b67e8a24d97728921e8d3bd.tar.xz
anaconda-eb2dc6f30a3185156b67e8a24d97728921e8d3bd.zip
enable bootdisks on loopback upgrades, fix style
Diffstat (limited to 'textw')
-rw-r--r--textw/bootdisk_text.py11
1 files changed, 6 insertions, 5 deletions
diff --git a/textw/bootdisk_text.py b/textw/bootdisk_text.py
index 0607300ea..ed0093610 100644
--- a/textw/bootdisk_text.py
+++ b/textw/bootdisk_text.py
@@ -20,6 +20,7 @@ from constants import *
class BootDiskWindow:
def __call__(self, screen, dir, disp, fsset):
if fsset.rootOnLoop():
+ disp.skipStep("makebootdisk", skip=0)
return INSTALL_NOOP
buttons = [ _("Yes"), _("No") ]
@@ -48,13 +49,13 @@ class BootDiskWindow:
## "not work\n\n"))
rc = ButtonChoiceWindow(screen, _("Boot Disk"), text,
- buttons = buttons,
- help = "bootdiskquery")
+ buttons=buttons,
+ help="bootdiskquery")
if rc == string.lower (_("No")):
disp.skipStep("makebootdisk")
else:
- disp.skipStep("makebootdisk", skip = 0)
+ disp.skipStep("makebootdisk", skip=0)
return INSTALL_OK
@@ -84,11 +85,11 @@ class MakeBootDiskWindow:
"partitionless install.")
rc = ButtonChoiceWindow (screen, _("Boot Disk"),
- text, buttons, help = "insertbootdisk")
+ text, buttons, help="insertbootdisk")
if rc == string.lower (_("Skip")):
disp.skipStep("makebootdisk")
else:
- disp.skipStep("makebootdisk", skip = 0)
+ disp.skipStep("makebootdisk", skip=0)
return INSTALL_OK