summaryrefslogtreecommitdiffstats
path: root/installclass.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2003-08-27 20:33:37 +0000
committerJeremy Katz <katzj@redhat.com>2003-08-27 20:33:37 +0000
commit7b7b11935b430f32be38061b2c3506b4499895ff (patch)
tree247b00ff2c2f4b2e9d0c890701b03b98fc6a1746 /installclass.py
parent4af8b5ec3a3b217b458e77a7ed60d63c0e53b0ec (diff)
downloadanaconda-7b7b11935b430f32be38061b2c3506b4499895ff.tar.gz
anaconda-7b7b11935b430f32be38061b2c3506b4499895ff.tar.xz
anaconda-7b7b11935b430f32be38061b2c3506b4499895ff.zip
merge from taroon branch
Diffstat (limited to 'installclass.py')
-rw-r--r--installclass.py7
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")