summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2008-07-14 16:40:32 +0100
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2008-07-14 16:40:32 +0100
commit8e213001de0523bd7971fc9251c56635a9e943db (patch)
tree12492058f090959222e8b677281e1aae7e12c441
parent54a64a6571a6de18b87177ff1410e5d57f574463 (diff)
downloaddbus-python-8e213001de0523bd7971fc9251c56635a9e943db.tar.gz
test-server: import Connection from the right place
-rwxr-xr-xtest/test-server.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test-server.py b/test/test-server.py
index 2a9f824..aef27c9 100755
--- a/test/test-server.py
+++ b/test/test-server.py
@@ -3,7 +3,7 @@
from dbus.mainloop.glib import DBusGMainLoop
import dbus
-import dbus.bus
+import dbus.connection
import dbus.service
import dbus.server
@@ -61,7 +61,7 @@ else:
address = os.read(pin, 128)
os.close(pin)
- client = dbus.bus.Connection(address)
+ client = dbus.connection.Connection(address)
proxy = client.get_object(TestService.NAME, TestService.PATH)
object = dbus.Interface(proxy, TestService.NAME)