summaryrefslogtreecommitdiff
path: root/test/cross-test-server.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/cross-test-server.py')
-rw-r--r--test/cross-test-server.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/cross-test-server.py b/test/cross-test-server.py
index 4098120..4b9ba92 100644
--- a/test/cross-test-server.py
+++ b/test/cross-test-server.py
@@ -23,7 +23,10 @@
from __future__ import print_function
import logging
-from gi.repository import GObject as gobject
+try:
+ from gi.repository import GObject as gobject
+except ImportError:
+ raise SystemExit(77)
import dbus.glib
from dbus import SessionBus