summaryrefslogtreecommitdiff
path: root/test/test-health-sink
diff options
context:
space:
mode:
authorGustavo Padovan <gustavo.padovan@collabora.co.uk>2012-07-04 14:31:45 +0200
committerJohan Hedberg <johan.hedberg@intel.com>2012-07-04 15:43:09 +0300
commit8af25d0b1d3db410529b0181f9d229ab2d30612a (patch)
tree4ac45f7a644caa1b6b37c43c67a1de6109557bb1 /test/test-health-sink
parent5a4951dae68e56b24419a4f8b41e34537af0b698 (diff)
downloadbluez-8af25d0b1d3db410529b0181f9d229ab2d30612a.tar.gz
manager: remove deprecated ListAdapters() method
Diffstat (limited to 'test/test-health-sink')
-rwxr-xr-xtest/test-health-sink3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/test-health-sink b/test/test-health-sink
index 7ee5e1aa3..333b2fb89 100755
--- a/test/test-health-sink
+++ b/test/test-health-sink
@@ -24,8 +24,7 @@ print(app_path)
manager = dbus.Interface(bus.get_object("org.bluez", "/"),
"org.bluez.Manager")
-adapters = manager.ListAdapters()
-
+adapters = manager.GetProperties()["Adapters"]
i = 1
for ad in adapters:
print("%d. %s" % (i, ad))