summaryrefslogtreecommitdiffstats
path: root/xserver.py
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>1999-08-21 23:09:51 +0000
committerMatt Wilson <msw@redhat.com>1999-08-21 23:09:51 +0000
commit2f8175975be5caf705536b5d2d3722a038e1d692 (patch)
tree4b3e37734c92782e0ea6fed958ed49b4b92e6588 /xserver.py
parent98c7f4529b5c7b89ffda34440d23d8094ff71a08 (diff)
downloadanaconda-2f8175975be5caf705536b5d2d3722a038e1d692.tar.gz
anaconda-2f8175975be5caf705536b5d2d3722a038e1d692.tar.xz
anaconda-2f8175975be5caf705536b5d2d3722a038e1d692.zip
raise exception
Diffstat (limited to 'xserver.py')
-rw-r--r--xserver.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/xserver.py b/xserver.py
index 3bba61adb..5bc70cf65 100644
--- a/xserver.py
+++ b/xserver.py
@@ -54,8 +54,8 @@ def startX():
kudzu.BUS_UNSPEC,
kudzu.PROBE_ONE);
if not mice:
- print "Unable to find a mouse!"
- return 1
+ raise XServerError, "Unable to find a mouse!"
+
device = None
protocol = None
(mouseDev, driver, descr) = mice[0]