summaryrefslogtreecommitdiffstats
path: root/textw/upgrade_text.py
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2007-01-19 22:32:56 +0000
committerChris Lumens <clumens@redhat.com>2007-01-19 22:32:56 +0000
commite941eddc8a294466e109153c1f3bfe036b4ca5eb (patch)
treed594df0fbbf194b5b66e2f34f63cc530eee7ac31 /textw/upgrade_text.py
parente0c19fb1100b1f4f2cd343a273b1f1b4b7cd9a8f (diff)
downloadanaconda-e941eddc8a294466e109153c1f3bfe036b4ca5eb.tar.gz
anaconda-e941eddc8a294466e109153c1f3bfe036b4ca5eb.tar.xz
anaconda-e941eddc8a294466e109153c1f3bfe036b4ca5eb.zip
Upgrade is no longer an installclass, either.
Diffstat (limited to 'textw/upgrade_text.py')
-rw-r--r--textw/upgrade_text.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/textw/upgrade_text.py b/textw/upgrade_text.py
index 71727e85a..505afb0e1 100644
--- a/textw/upgrade_text.py
+++ b/textw/upgrade_text.py
@@ -20,8 +20,6 @@ from snack import *
from fsset import *
from flags import flags
from constants import *
-import upgradeclass
-UpgradeClass = upgradeclass.InstallClass
from rhpl.translate import _
@@ -223,9 +221,8 @@ class UpgradeExamineWindow:
root = parts[choice - 1]
if root is not None:
- c = UpgradeClass(flags.expert)
- c.setSteps(anaconda.dispatch)
- c.setInstallData(anaconda)
+ upgrade.setSteps(anaconda)
+ anaconda.id.setUpgrade(True)
anaconda.id.upgradeRoot = [(root[0], root[1])]
anaconda.id.rootParts = parts