diff options
author | Chris Lumens <clumens@redhat.com> | 2009-12-17 23:01:50 -0500 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2010-02-04 14:07:28 -0500 |
commit | 58313843acde95e53432a1790e9bb22d60104a12 (patch) | |
tree | 78e9185e472b4382ef66e0a11f747a477a67eff6 /packages.py | |
parent | 759698f74afb19d5cda084d9562fd8b14ee5bf1d (diff) | |
download | anaconda-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 'packages.py')
-rw-r--r-- | packages.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages.py b/packages.py index 79cb9a55d..7e79b832f 100644 --- a/packages.py +++ b/packages.py @@ -311,7 +311,7 @@ def rpmSetupGraphicalSystem(anaconda): anaconda.id.bootloader.args.append("rhgb quiet") if ts.dbMatch('provides', 'service(graphical-login)').count() and \ - anaconda.id.displayMode == 'g' and not flags.usevnc: + anaconda.displayMode == 'g' and not flags.usevnc: anaconda.id.desktop.setDefaultRunLevel(5) #Recreate initrd for use when driver disks add modules |