diff options
author | Jeremy Katz <katzj@redhat.com> | 2003-08-27 20:33:37 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2003-08-27 20:33:37 +0000 |
commit | 7b7b11935b430f32be38061b2c3506b4499895ff (patch) | |
tree | 247b00ff2c2f4b2e9d0c890701b03b98fc6a1746 /installclass.py | |
parent | 4af8b5ec3a3b217b458e77a7ed60d63c0e53b0ec (diff) | |
download | anaconda-7b7b11935b430f32be38061b2c3506b4499895ff.tar.gz anaconda-7b7b11935b430f32be38061b2c3506b4499895ff.tar.xz anaconda-7b7b11935b430f32be38061b2c3506b4499895ff.zip |
merge from taroon branch
Diffstat (limited to 'installclass.py')
-rw-r--r-- | installclass.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/installclass.py b/installclass.py index eab704f98..acb7868f3 100644 --- a/installclass.py +++ b/installclass.py @@ -181,7 +181,7 @@ class BaseInstallClass: if not floppyDevices: dispatch.skipStep("bootdisk") - if iutil.getArch() != "i386" or iutil.getArch() != "x86_64": + if iutil.getArch() != "i386" and iutil.getArch() != "x86_64": dispatch.skipStep("bootloader") # 'noupgrade' can be used on the command line to force not looking @@ -461,8 +461,9 @@ class BaseInstallClass: raise RuntimeError, "Unknown videocard specified: %s" %(card,) if videoRam: - id.videocard.primaryCard().setVideoRam(videoRam) - id.xsetup.xhwstate.set_videocard_ram(videoRam) + # FIXME: this required casting is ugly + id.videocard.primaryCard().setVideoRam(str(videoRam)) + id.xsetup.xhwstate.set_videocard_ram(int(videoRam)) if server is not None: log("unable to really do anything with server right now") |