summaryrefslogtreecommitdiffstats
path: root/xf86config.py
diff options
context:
space:
mode:
authorbfox <bfox>2001-01-19 20:01:25 +0000
committerbfox <bfox>2001-01-19 20:01:25 +0000
commitc41a1a4dc7b367cac90af91f444c8bd9e2f159f5 (patch)
tree82120f89249edfe48e269d7a0c1cdfc0812d795c /xf86config.py
parent0bf0abef4844e4572ce2f760a713451b4420af0d (diff)
downloadanaconda-c41a1a4dc7b367cac90af91f444c8bd9e2f159f5.tar.gz
anaconda-c41a1a4dc7b367cac90af91f444c8bd9e2f159f5.tar.xz
anaconda-c41a1a4dc7b367cac90af91f444c8bd9e2f159f5.zip
Added code to drop to text mode if the card can't be probed. Resolves bug #23439.
Diffstat (limited to 'xf86config.py')
-rw-r--r--xf86config.py11
1 files changed, 10 insertions, 1 deletions
diff --git a/xf86config.py b/xf86config.py
index 183c40bf7..644d3aafb 100644
--- a/xf86config.py
+++ b/xf86config.py
@@ -983,6 +983,11 @@ class XF86Config:
return None
def test (self, serverflags=None, spawn=0):
+ if not self.server:
+# print "self.server was None, doing nothing in test"
+ return
+
+
files = self.files
modes = self.modes
laptop = self.laptop()
@@ -1044,14 +1049,18 @@ class XF86Config:
pass
os.execv(args[0], args)
- print "exec failed"
+# print "exec failed"
# time.sleep(5)
os.exit (1)
# time.sleep (10)
# print "Here"
+
+# print "server is", server
# time.sleep (5)
+
+
if spawn:
return server