summaryrefslogtreecommitdiffstats
path: root/xf86config.py
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>1999-09-02 13:58:07 +0000
committerMatt Wilson <msw@redhat.com>1999-09-02 13:58:07 +0000
commit758c61814568626ccc19ce6a158b2dadc57bb640 (patch)
tree48beb2d2c3b7afe4832f71dc758790e6e959a7cb /xf86config.py
parentd80189d749140241d825a3977949e076219c3ee0 (diff)
downloadanaconda-758c61814568626ccc19ce6a158b2dadc57bb640.tar.gz
anaconda-758c61814568626ccc19ce6a158b2dadc57bb640.tar.xz
anaconda-758c61814568626ccc19ce6a158b2dadc57bb640.zip
fix from erik for modelines with no resolitions
Diffstat (limited to 'xf86config.py')
-rw-r--r--xf86config.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/xf86config.py b/xf86config.py
index 0a87627cd..0b66da024 100644
--- a/xf86config.py
+++ b/xf86config.py
@@ -697,6 +697,7 @@ Section "Screen"
Monitor "%(MONITOR)s"
""" % info
for depth in self.modes.keys ():
+ if not self.modes[depth]: continue
section = section + """
Subsection "Display"
Depth %s