diff options
author | Mike Fulbright <msf@redhat.com> | 2001-08-15 17:17:45 +0000 |
---|---|---|
committer | Mike Fulbright <msf@redhat.com> | 2001-08-15 17:17:45 +0000 |
commit | e4af744efd53c06c2caf2f17b4f7f3f4dd60216b (patch) | |
tree | 36591ddfc911f7aa743ef36df95b5ee8a231b9bf /textw | |
parent | c184d29d47533fe01c6ad9b65e159c86791d04fd (diff) | |
download | anaconda-e4af744efd53c06c2caf2f17b4f7f3f4dd60216b.tar.gz anaconda-e4af744efd53c06c2caf2f17b4f7f3f4dd60216b.tar.xz anaconda-e4af744efd53c06c2caf2f17b4f7f3f4dd60216b.zip |
darn
Diffstat (limited to 'textw')
-rw-r--r-- | textw/xconfig_text.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/textw/xconfig_text.py b/textw/xconfig_text.py index 7098754a5..a21e058ff 100644 --- a/textw/xconfig_text.py +++ b/textw/xconfig_text.py @@ -551,17 +551,16 @@ class XConfigWindowCard: vidRam = 1024 count = 0 + self.selectedRam = 0 for size in self.videocard.possible_ram_sizes(): #--Cards such as Mach64 and ATI Rage Mobility report 64k less ram # than it should small = size - 64 if size == vidRam or small == vidRam: + self.selectedRam = count break count = count + 1 - print vidRam, count - - self.selectedRam = count try: vidRam = string.atoi(self.videocard.primaryCard(useProbed=1).getVideoRam()) @@ -569,15 +568,16 @@ class XConfigWindowCard: vidRam = 1024 count = 0 + self.origRam = 0 for size in self.videocard.possible_ram_sizes(): #--Cards such as Mach64 and ATI Rage Mobility report 64k less ram # than it should small = size - 64 if size == vidRam or small == vidRam: + self.origRam = count break count = count + 1 - self.origRam = count skipx = 0 while 1: |