summaryrefslogtreecommitdiffstats
path: root/textw/upgrade_text.py
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 /textw/upgrade_text.py
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 'textw/upgrade_text.py')
-rw-r--r--textw/upgrade_text.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/textw/upgrade_text.py b/textw/upgrade_text.py
index bc058380b..407684fda 100644
--- a/textw/upgrade_text.py
+++ b/textw/upgrade_text.py
@@ -79,7 +79,7 @@ class UpgradeMigrateFSWindow:
return INSTALL_OK
class UpgradeSwapWindow:
- def __call__ (self, screen, intf, fsset, instPath, swapInfo):
+ def __call__ (self, screen, intf, fsset, instPath, swapInfo, dispatch):
rc = swapInfo
(fsList, suggSize, suggMntPoint) = rc
@@ -176,6 +176,7 @@ class UpgradeSwapWindow:
screen.popWindow()
if flags.setupFilesystems:
upgrade.createSwapFile(instPath, fsset, mnt, val)
+ dispatch.skipStep("addswap", 1)
return INSTALL_OK
raise ValueError