diff options
author | Gustavo Padovan <gustavo.padovan@collabora.co.uk> | 2012-07-04 14:31:00 +0200 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2012-07-04 15:43:06 +0300 |
commit | 5a4951dae68e56b24419a4f8b41e34537af0b698 (patch) | |
tree | d975ce33f97ef77d45688fb3180310413b976eee /test/test-health-sink | |
parent | 4a3f496862c30d5373f1651c093951a5a42929a4 (diff) | |
download | bluez-5a4951dae68e56b24419a4f8b41e34537af0b698.tar.gz |
adapter: remove deprecated ListDevices() method
Diffstat (limited to 'test/test-health-sink')
-rwxr-xr-x | test/test-health-sink | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test-health-sink b/test/test-health-sink index ce7337a52..7ee5e1aa3 100755 --- a/test/test-health-sink +++ b/test/test-health-sink @@ -47,7 +47,7 @@ while select == None: adapter = dbus.Interface(bus.get_object("org.bluez", select), "org.bluez.Adapter") -devices = adapter.ListDevices() +devices = adapter.GetProperties()["Devices"] if len(devices) == 0: print("No devices available") |