summaryrefslogtreecommitdiffstats
path: root/installclass.py
diff options
context:
space:
mode:
authorMike Fulbright <msf@redhat.com>2001-08-30 16:22:11 +0000
committerMike Fulbright <msf@redhat.com>2001-08-30 16:22:11 +0000
commit428ee38097c170f1771999dc5abda1728bdefbe6 (patch)
tree375ae67972c639e85fcc55b5199a9fed18cb1b0b /installclass.py
parent58ccc99cc81a4308eff53f7373f0391bb5401f26 (diff)
downloadanaconda-428ee38097c170f1771999dc5abda1728bdefbe6.tar.gz
anaconda-428ee38097c170f1771999dc5abda1728bdefbe6.tar.xz
anaconda-428ee38097c170f1771999dc5abda1728bdefbe6.zip
fixed stupid ks bug introduced fixing another ks bug related to my pos permedia card and videoram
Diffstat (limited to 'installclass.py')
-rw-r--r--installclass.py10
1 files changed, 6 insertions, 4 deletions
diff --git a/installclass.py b/installclass.py
index 1366ab932..c835eb8d3 100644
--- a/installclass.py
+++ b/installclass.py
@@ -322,10 +322,12 @@ class BaseInstallClass:
raise RuntimeError, "Could not probe video card and no fallback specified"
id.videocard.setVidcard(vc)
- if type(videoRam) == type(1024):
- tmpram = videoRam
- else:
- tmpram = string.atoi(videoRam)
+ tmpram = None
+ if videoRam != None:
+ if type(videoRam) == type(1024):
+ tmpram = videoRam
+ else:
+ tmpram = string.atoi(videoRam)
if tmpram in id.videocard.possible_ram_sizes():
id.videocard.primaryCard().setVideoRam(str(tmpram))