summaryrefslogtreecommitdiffstats
path: root/kickstart.py
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2009-12-17 23:01:50 -0500
committerChris Lumens <clumens@redhat.com>2010-02-04 14:07:28 -0500
commit58313843acde95e53432a1790e9bb22d60104a12 (patch)
tree78e9185e472b4382ef66e0a11f747a477a67eff6 /kickstart.py
parent759698f74afb19d5cda084d9562fd8b14ee5bf1d (diff)
downloadanaconda-58313843acde95e53432a1790e9bb22d60104a12.tar.gz
anaconda-58313843acde95e53432a1790e9bb22d60104a12.tar.xz
anaconda-58313843acde95e53432a1790e9bb22d60104a12.zip
Set displayMode on the anaconda object, then refer to that everywhere.
We probably shouldn't be referring to attributes on the OptionParser object when we've got a perfectly useful Anaconda object to use. This also allows removing the displayMode attribute from the InstallData.
Diffstat (limited to 'kickstart.py')
-rw-r--r--kickstart.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/kickstart.py b/kickstart.py
index a6768ed41..ce3939cec 100644
--- a/kickstart.py
+++ b/kickstart.py
@@ -1434,7 +1434,7 @@ def setSteps(anaconda):
# can't stop and prompt for missing information. Make sure we've got
# everything that would be provided by a missing section now and error
# out if we don't.
- if anaconda.id.displayMode == "t":
+ if anaconda.displayMode == "t":
missingSteps = [("bootloader", "Bootloader configuration"),
("filter", "Disks to use in installation"),
("cleardiskssel", "Disks to clear"),