summaryrefslogtreecommitdiffstats
path: root/kickstart.py
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2007-06-11 17:04:35 +0000
committerChris Lumens <clumens@redhat.com>2007-06-11 17:04:35 +0000
commitc156000c17380f3c24dd97fccab6c78d6da9fcfa (patch)
treeb71bd0c3f3704634194270d269e2b97064717efb /kickstart.py
parenta3590dd8d86b96063eaeeadf07cbeab9e76fcd67 (diff)
downloadanaconda-c156000c17380f3c24dd97fccab6c78d6da9fcfa.tar.gz
anaconda-c156000c17380f3c24dd97fccab6c78d6da9fcfa.tar.xz
anaconda-c156000c17380f3c24dd97fccab6c78d6da9fcfa.zip
Use the correct fix for kickstart upgrade tracebacks (#243159).
Diffstat (limited to 'kickstart.py')
-rw-r--r--kickstart.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/kickstart.py b/kickstart.py
index 6024b22aa..c0c44b1f6 100644
--- a/kickstart.py
+++ b/kickstart.py
@@ -1057,10 +1057,9 @@ def setSteps(anaconda):
dispatch = anaconda.dispatch
ksdata = anaconda.id.ksdata
interactive = ksdata.interactive.interactive
- upgrade = ksdata.upgrade.upgrade
- if upgrade:
- anaconda.id.instClass.setSteps(anaconda)
+ if ksdata.upgrade.upgrade:
+ upgrade.setSteps(anaconda)
# we have no way to specify migrating yet
dispatch.skipStep("upgrademigfind")
@@ -1105,7 +1104,7 @@ def setSteps(anaconda):
# If the package section included anything, skip group selection unless
# they're in interactive.
- if upgrade:
+ if ksdata.upgrade.upgrade:
ksdata.skipSteps.append("group-selection")
# Special check for this, since it doesn't make any sense.