summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2012-06-05 13:10:54 +0300
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2012-06-05 13:41:57 +0300
commitfff05e944e2cdc3a58e2ab87be41aa6ea2e9ed88 (patch)
treed0779b3e8fbef013306786fcecc852e049974540
parentbd9a86190f0c6cf65d264cb9302df2fe0a3e26ec (diff)
downloadobexd-fff05e944e2cdc3a58e2ab87be41aa6ea2e9ed88.tar.gz
test: Use org.bluez.obex namespace in map-client script
-rwxr-xr-xtest/map-client10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/map-client b/test/map-client
index d66cb9f..ca8e478 100755
--- a/test/map-client
+++ b/test/map-client
@@ -38,14 +38,14 @@ if __name__ == '__main__':
bus = dbus.SessionBus()
mainloop = gobject.MainLoop()
- client = dbus.Interface(bus.get_object("org.openobex.client", "/"),
- "org.openobex.Client")
+ client = dbus.Interface(bus.get_object("org.bluez.obex.client", "/"),
+ "org.bluez.obex.Client")
path = client.CreateSession(options.device, { "Target": "map" })
- obj = bus.get_object("org.openobex.client", path)
- session = dbus.Interface(obj, "org.openobex.Session")
- map = dbus.Interface(obj, "org.openobex.MessageAccess")
+ obj = bus.get_object("org.bluez.obex.client", path)
+ session = dbus.Interface(obj, "org.bluez.obex.Session")
+ map = dbus.Interface(obj, "org.bluez.obex.MessageAccess")
if options.new_dir:
set_folder(map, options.new_dir)