diff options
author | Mike Fulbright <msf@redhat.com> | 2001-08-30 16:22:11 +0000 |
---|---|---|
committer | Mike Fulbright <msf@redhat.com> | 2001-08-30 16:22:11 +0000 |
commit | 428ee38097c170f1771999dc5abda1728bdefbe6 (patch) | |
tree | 375ae67972c639e85fcc55b5199a9fed18cb1b0b /installclass.py | |
parent | 58ccc99cc81a4308eff53f7373f0391bb5401f26 (diff) | |
download | anaconda-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.py | 10 |
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)) |