summaryrefslogtreecommitdiffstats
path: root/iw
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2001-08-10 00:40:08 +0000
committerJeremy Katz <katzj@redhat.com>2001-08-10 00:40:08 +0000
commitf0073970ce9adc99bfd801db525ed6c81caebe04 (patch)
tree3b1ab2e72215a152bb15e36b54f54bae735d1861 /iw
parentc169fd5d81200929cb45ca15e0153df5a7644112 (diff)
downloadanaconda-f0073970ce9adc99bfd801db525ed6c81caebe04.tar.gz
anaconda-f0073970ce9adc99bfd801db525ed6c81caebe04.tar.xz
anaconda-f0073970ce9adc99bfd801db525ed6c81caebe04.zip
don't let people come back here after they've turned on swap files once
Diffstat (limited to 'iw')
-rw-r--r--iw/upgrade_swap_gui.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/iw/upgrade_swap_gui.py b/iw/upgrade_swap_gui.py
index bc485bf98..9b58102b3 100644
--- a/iw/upgrade_swap_gui.py
+++ b/iw/upgrade_swap_gui.py
@@ -63,6 +63,7 @@ class UpgradeSwapWindow (InstallWindow):
else:
if flags.setupFilesystems:
upgrade.createSwapFile(self.instPath, self.fsset, mnt, val)
+ self.dispatch.skipStep("addswap", 1)
return None
@@ -72,11 +73,12 @@ class UpgradeSwapWindow (InstallWindow):
def clist_cb(self, clist, row, col, data):
self.row = row
- def getScreen (self, intf, fsset, instPath, swapInfo):
+ def getScreen (self, intf, fsset, instPath, swapInfo, dispatch):
self.neededSwap = 0
self.fsset = fsset
self.instPath = instPath
self.intf = intf
+ self.dispatch = dispatch
rc = swapInfo