diff options
author | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2012-06-05 13:10:03 +0300 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2012-06-05 13:41:57 +0300 |
commit | 064ff92e2c4e181e23b569ecc032695c0b9f3440 (patch) | |
tree | d05656f3d39a57d78cc9956d324e1f681668a12e /test | |
parent | 56011473ac9e8612ed873b30cb261d6948260e19 (diff) | |
download | obexd-064ff92e2c4e181e23b569ecc032695c0b9f3440.tar.gz |
test: Use org.bluez.obex namespace in list-folders script
Diffstat (limited to 'test')
-rwxr-xr-x | test/list-folders | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/list-folders b/test/list-folders index 7239d6d..ecd456c 100755 --- a/test/list-folders +++ b/test/list-folders @@ -6,13 +6,13 @@ import dbus def list_folder(folder): bus = dbus.SessionBus() - 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") - session_path = client.CreateSession(sys.argv[1], { "Target": "ftp" }) + path = client.CreateSession(sys.argv[1], { "Target": "ftp" }) - ftp = dbus.Interface(bus.get_object("org.openobex.client", session_path), - "org.openobex.FileTransfer") + ftp = dbus.Interface(bus.get_object("org.bluez.obex.client", path), + "org.bluez.obex.FileTransfer") if folder: for node in folder.split("/"): |