diff options
author | Matt Wilson <msw@redhat.com> | 2001-06-27 06:27:58 +0000 |
---|---|---|
committer | Matt Wilson <msw@redhat.com> | 2001-06-27 06:27:58 +0000 |
commit | 2bba38c5baec17e551edab1b3fbfb62d8f315e5b (patch) | |
tree | cb8bc51e99a07d940ebc583b44e1de73bb8523cc /iw | |
parent | 08a3c481379fbf7d89894ab44a8805f155e0d0e9 (diff) | |
download | anaconda-2bba38c5baec17e551edab1b3fbfb62d8f315e5b.tar.gz anaconda-2bba38c5baec17e551edab1b3fbfb62d8f315e5b.tar.xz anaconda-2bba38c5baec17e551edab1b3fbfb62d8f315e5b.zip |
break upgrade swap suggestion out into another step and store its findings in
instdata.
Diffstat (limited to 'iw')
-rw-r--r-- | iw/upgrade_swap_gui.py | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/iw/upgrade_swap_gui.py b/iw/upgrade_swap_gui.py index 7adf075e9..ffbc3f80e 100644 --- a/iw/upgrade_swap_gui.py +++ b/iw/upgrade_swap_gui.py @@ -61,8 +61,10 @@ class UpgradeSwapWindow (InstallWindow): else: if flags.setupFilesystems: - upgrade.createSwapFile(instPath, fsset, mnt, val) - + # XXX fix me + # upgrade.createSwapFile(instPath, fsset, mnt, val) + pass + return None def toggle (self, data): @@ -71,16 +73,13 @@ class UpgradeSwapWindow (InstallWindow): def clist_cb(self, clist, row, col, data): self.row = row - def getScreen (self, dispatch, intf, fsset, instPath): + def getScreen (self, intf, fsset, instPath, swapInfo): self.neededSwap = 0 self.fsset = fsset - self.dispatch = dispatch self.instPath = instPath self.intf = intf - rc = upgrade.swapSuggestion(self.instPath, self.fsset) - if not rc: - return None + rc = swapInfo self.neededSwap = 1 self.row = 0 |