diff options
author | Chris Lumens <clumens@redhat.com> | 2007-01-16 19:58:13 +0000 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2007-01-16 19:58:13 +0000 |
commit | 8bda00c30726d98f58e392eb66be12b25a7368df (patch) | |
tree | 651a964c73db8ddbab60a0a7f127d9f075f80334 /xsetup.py | |
parent | 3527054f5d13b747a35d88cd9536eae2899bf82b (diff) | |
download | anaconda-8bda00c30726d98f58e392eb66be12b25a7368df.tar.gz anaconda-8bda00c30726d98f58e392eb66be12b25a7368df.tar.xz anaconda-8bda00c30726d98f58e392eb66be12b25a7368df.zip |
Oh crap, support for new pykickstart is here. This is too large to explain
in a CVS commit message so just read the ChangeLog or look at the diff. Most
of it is just code reorganization and it's mostly contained in kickstart.py.
Diffstat (limited to 'xsetup.py')
-rw-r--r-- | xsetup.py | 26 |
1 files changed, 2 insertions, 24 deletions
@@ -52,27 +52,5 @@ class XSetup: if rhpl.getArch() == "s390" and args != []: f.write("xconfig %s\n" % string.join(args, " ")) - if ksconfig: - if ksconfig.xconfig["driver"] != "": - args += [ "--driver", ksconfig.xconfig["driver"] ] - if ksconfig.xconfig["videoRam"] != "": - args += [ "--videoram", ksconfig.xconfig["videoRam"] ] - if ksconfig.xconfig["resolution"] != "": - args += [ "--resolution", ksconfig.xconfig["resolution"] ] - if ksconfig.xconfig["depth"] != 0: - args += [ "--depth", str(ksconfig.xconfig["depth"]) ] - - if args != []: - f.write("xconfig %s\n" % string.join(args, " ")) - - args = [] - if ksconfig: - if ksconfig.monitor["monitor"] != "": - args += [ "--monitor", ksconfig.monitor["monitor"] ] - if ksconfig.monitor["hsync"] != "": - args += [ "--hsync", ksconfig.monitor["hsync"] ] - if ksconfig.monitor["vsync"] != "": - args += [ "--vsync", ksconfig.monitor["vsync"] ] - - if args != []: - f.write("monitor %s\n" % string.join(args, " ")) + f.write(ksconfig.xconfig.__str__()) + f.write(ksconfig.monitor.__str__()) |