diff options
author | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2012-12-14 23:32:00 +0200 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2012-12-16 13:26:03 +0200 |
commit | 9f4d7d9ac3823672ac0826ef6e8e91591c9b1a9f (patch) | |
tree | 76570bbb6dd385882c901e5604eaad8bf5d6503c | |
parent | e4f45a247b1c4d525b0a4c8e5d6e75b966d28334 (diff) |
test: Update map-client to use D-Bus properties interface
-rwxr-xr-x | test/map-client | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/map-client b/test/map-client index 756ebb8c9..39dd79faf 100755 --- a/test/map-client +++ b/test/map-client @@ -136,8 +136,8 @@ class MapClient: self.map.ListMessages("", dict()) path = self.path + "/message" + handle obj = bus.get_object("org.bluez.obex.client", path) - msg = dbus.Interface(obj, "org.bluez.obex.Message") - ret = msg.GetProperties() + msg = dbus.Interface(obj, "org.freedesktop.DBus.Properties") + ret = msg.GetAll("org.bluez.obex.Message") print pformat(unwrap(ret)) def set_message_property(self, handle, prop, flag): |