summaryrefslogtreecommitdiff
path: root/test/ftp-client
diff options
context:
space:
mode:
authorMikel Astiz <mikel.astiz@bmw-carit.de>2012-05-21 11:07:14 +0200
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2012-05-23 11:30:47 +0300
commit4314fbf5dd54e375a41dd2881cb1fca4ee0ab293 (patch)
tree64a9af7186cafb1f594773a3c5df0b96401fdb3c /test/ftp-client
parent2296e03f07df61d0d5b6a4c1ce133345fbd62f76 (diff)
downloadobexd-4314fbf5dd54e375a41dd2881cb1fca4ee0ab293.tar.gz
client-test: Replace CreateSession parameter dict
Diffstat (limited to 'test/ftp-client')
-rwxr-xr-xtest/ftp-client3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/ftp-client b/test/ftp-client
index 9bc038d..825f591 100755
--- a/test/ftp-client
+++ b/test/ftp-client
@@ -135,8 +135,7 @@ if __name__ == '__main__':
client = dbus.Interface(bus.get_object("org.openobex.client", "/"),
"org.openobex.Client")
- session_path = client.CreateSession({ "Destination": options.device,
- "Target": "ftp"})
+ session_path = client.CreateSession(options.device, { "Target": "ftp" })
session = dbus.Interface(bus.get_object("org.openobex.client", session_path),
"org.openobex.Session")