summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2000-08-10 22:15:40 +0000
committerMatt Wilson <msw@redhat.com>2000-08-10 22:15:40 +0000
commit1189d5b022d07a7a386eb7847f4f50e6210ad9e6 (patch)
tree2283e66beae2e2122162919d78208c92dd661d5a
parent1c61cc20e2310c975d17c470602c654437111e44 (diff)
downloadanaconda-1189d5b022d07a7a386eb7847f4f50e6210ad9e6.tar.gz
anaconda-1189d5b022d07a7a386eb7847f4f50e6210ad9e6.tar.xz
anaconda-1189d5b022d07a7a386eb7847f4f50e6210ad9e6.zip
bail if we don't have video cards defined, #15936
-rw-r--r--xf86config.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/xf86config.py b/xf86config.py
index f814cfa9e..e24e20431 100644
--- a/xf86config.py
+++ b/xf86config.py
@@ -1089,6 +1089,8 @@ Section "Screen"
return XF86Config_template % info
def Version4Config(self, test=0):
+ if not self.vidCards:
+ raise RuntimeError, "No known video cards"
screens = ""
maxdepth = -1
for depth in self.modes.keys ():