diff options
author | Matt Wilson <msw@redhat.com> | 2000-08-10 22:15:40 +0000 |
---|---|---|
committer | Matt Wilson <msw@redhat.com> | 2000-08-10 22:15:40 +0000 |
commit | 1189d5b022d07a7a386eb7847f4f50e6210ad9e6 (patch) | |
tree | 2283e66beae2e2122162919d78208c92dd661d5a /xf86config.py | |
parent | 1c61cc20e2310c975d17c470602c654437111e44 (diff) | |
download | anaconda-1189d5b022d07a7a386eb7847f4f50e6210ad9e6.tar.gz anaconda-1189d5b022d07a7a386eb7847f4f50e6210ad9e6.tar.xz anaconda-1189d5b022d07a7a386eb7847f4f50e6210ad9e6.zip |
bail if we don't have video cards defined, #15936
Diffstat (limited to 'xf86config.py')
-rw-r--r-- | xf86config.py | 2 |
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 (): |