summaryrefslogtreecommitdiffstats
path: root/xf86config.py
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2001-07-07 00:27:01 +0000
committerMatt Wilson <msw@redhat.com>2001-07-07 00:27:01 +0000
commit0f3b4dc4ff60b4c20e38be745317974c5ef7c3bb (patch)
treebe87d97592c5711a7820d076524c96beefade5f3 /xf86config.py
parentb30ba65b4b75ca2ef3eb99aafd1dae84a35b17a6 (diff)
downloadanaconda-0f3b4dc4ff60b4c20e38be745317974c5ef7c3bb.tar.gz
anaconda-0f3b4dc4ff60b4c20e38be745317974c5ef7c3bb.tar.xz
anaconda-0f3b4dc4ff60b4c20e38be745317974c5ef7c3bb.zip
these returns aren't really needed
Diffstat (limited to 'xf86config.py')
-rw-r--r--xf86config.py9
1 files changed, 2 insertions, 7 deletions
diff --git a/xf86config.py b/xf86config.py
index 13b525f7c..5778da751 100644
--- a/xf86config.py
+++ b/xf86config.py
@@ -708,35 +708,30 @@ class XF86Config:
modes["8"] = ["640x480", "800x600", "1024x768", "1152x864", "1280x1024", "1400x1050", "1600x1200"]
modes["16"] = ["640x480", "800x600", "1024x768", "1152x864", "1280x1024", "1400x1050", "1600x1200"]
modes["32"] = ["640x480", "800x600", "1024x768", "1152x864", "1280x1024", "1400x1050", "1600x1200"]
- return modes
elif string.atoi(vidRam) >= 6144:
modes["8"] = ["640x480", "800x600", "1024x768", "1152x864", "1280x1024", "1400x1050", "1600x1200"]
modes["16"] = ["640x480", "800x600", "1024x768", "1152x864", "1280x1024", "1400x1050", "1600x1200"]
modes["32"] = ["640x480", "800x600", "1024x768", "1152x864", "1280x1024"]
- return modes
elif string.atoi(vidRam) >= 4096:
modes["8"] = ["640x480", "800x600", "1024x768", "1152x864", "1280x1024"]
modes["16"] = ["640x480", "800x600", "1024x768", "1152x864", "1280x1024"]
modes["32"] = ["640x480", "800x600", "1024x768", "1152x864"]
- return modes
elif string.atoi(vidRam) >= 2048:
modes["8"] = ["640x480", "800x600", "1024x768", "1152x864", "1280x1024"]
modes["16"] = ["640x480", "800x600", "1024x768", "1152x864"]
modes["32"] = ["640x480", "800x600"]
- return modes
elif string.atoi(vidRam) >= 1024:
modes["8"] = ["640x480", "800x600", "1024x768", "1152x864"]
modes["16"] = ["640x480", "800x600"]
modes["32"] = []
- return modes
elif string.atoi(vidRam) >= 512:
modes["8"] = ["640x480", "800x600"]
modes["16"] = ["640x480"]
modes["32"] = []
- return modes
elif string.atoi(vidRam) >= 256:
modes["8"] = ["640x480"]
- return modes
+
+ return modes
def filterModesByMemory (self):
self.modes = self.availableModes()