diff options
author | Mike Fulbright <msf@redhat.com> | 2002-05-23 15:21:26 +0000 |
---|---|---|
committer | Mike Fulbright <msf@redhat.com> | 2002-05-23 15:21:26 +0000 |
commit | d7505f5e013cfa2b0af3eff08111c846f5930397 (patch) | |
tree | e38fd6d8e6f8bab5ef2d191fdde2d31f43707fbf /videocard.py | |
parent | 4bdbb8966ae3997688ad2668b2eed934bf8ed770 (diff) | |
download | anaconda-d7505f5e013cfa2b0af3eff08111c846f5930397.tar.gz anaconda-d7505f5e013cfa2b0af3eff08111c846f5930397.tar.xz anaconda-d7505f5e013cfa2b0af3eff08111c846f5930397.zip |
1) Fix all copyrights 2) move everything to use rhpl.translate instead of our own translate.py
Diffstat (limited to 'videocard.py')
-rw-r--r-- | videocard.py | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/videocard.py b/videocard.py index b410c2300..707e4506b 100644 --- a/videocard.py +++ b/videocard.py @@ -5,7 +5,7 @@ # Brent Fox <bfox@redhat.com> # Mike Fulbright <msf@redhat.com> # -# Copyright 2002 Red Hat, Inc. +# Copyright 2001-2002 Red Hat, Inc. # # This software may be freely redistributed under the terms of the GNU # library public license. @@ -18,12 +18,10 @@ import copy import string import kudzu -import iutil -import isys import os from log import log -from translate import _ +from rhpl.translate import _ Videocard_blacklist = ["Generic VGA compatible", "Generic VGA16", @@ -192,14 +190,17 @@ class FrameBufferCard(VideoCard): def hasFixedMode(self): return 1 - def FixedMode(self): - fb = isys.fbinfo() - if fb: - (x, y, bpp) = fb - rc = {} - rc[str(bpp)] = ["%sx%s" % (x, y)] - return rc - return None +# +# we're removing frame buffer code +# +# def FixedMode(self): +# fb = isys.fbinfo() +# if fb: +# (x, y, bpp) = fb +# rc = {} +# rc[str(bpp)] = ["%sx%s" % (x, y)] +# return rc +# return None # fake card entry for frame buffer class VGA16Card(VideoCard): |