diff options
author | Chris Lumens <clumens@redhat.com> | 2007-01-19 22:32:56 +0000 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2007-01-19 22:32:56 +0000 |
commit | e941eddc8a294466e109153c1f3bfe036b4ca5eb (patch) | |
tree | d594df0fbbf194b5b66e2f34f63cc530eee7ac31 /iw | |
parent | e0c19fb1100b1f4f2cd343a273b1f1b4b7cd9a8f (diff) | |
download | anaconda-e941eddc8a294466e109153c1f3bfe036b4ca5eb.tar.gz anaconda-e941eddc8a294466e109153c1f3bfe036b4ca5eb.tar.xz anaconda-e941eddc8a294466e109153c1f3bfe036b4ca5eb.zip |
Upgrade is no longer an installclass, either.
Diffstat (limited to 'iw')
-rw-r--r-- | iw/examine_gui.py | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/iw/examine_gui.py b/iw/examine_gui.py index 3f5218eaf..9bb9c740b 100644 --- a/iw/examine_gui.py +++ b/iw/examine_gui.py @@ -17,12 +17,9 @@ from iw_gui import * from pixmapRadioButtonGroup_gui import pixmapRadioButtonGroup from rhpl.translate import _, N_ from constants import * -from upgrade import * +import upgrade from flags import flags -import upgradeclass -UpgradeClass = upgradeclass.InstallClass - UPGRADE_STR = "upgrade" REINSTALL_STR = "reinstall" @@ -31,11 +28,9 @@ class UpgradeExamineWindow (InstallWindow): windowTitle = N_("Upgrade Examine") def getNext (self): - if self.doupgrade: - # set the install class to be an upgrade - c = UpgradeClass(flags.expert) - c.setSteps(self.anaconda.dispatch) - c.setInstallData(self.anaconda) + if self.doupgrade: + upgrade.setSteps(self.anaconda) + self.anaconda.id.setUpgrade(True) rootfs = self.parts[self.upgradecombo.get_active()] self.anaconda.id.upgradeRoot = [(rootfs[0], rootfs[1])] |