diff options
Diffstat (limited to 'test')
-rwxr-xr-x | test/list-devices | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/test/list-devices b/test/list-devices index 168314272..d4ed71100 100755 --- a/test/list-devices +++ b/test/list-devices @@ -60,10 +60,7 @@ for i in adapter_list: properties = device.GetProperties() for key in properties.keys(): value = properties[key] - if (key == "Nodes"): - list = extract_objects(value) - print(" %s = %s" % (key, list)) - elif (key == "UUIDs"): + if (key == "UUIDs"): list = extract_uuids(value) print(" %s = %s" % (key, list)) elif (key == "Class"): @@ -77,18 +74,4 @@ for i in adapter_list: else: print(" %s = %s" % (key, value)) - try: - node_list = properties["Nodes"] - except: - node_list = [] - - for x in node_list: - node = dbus.Interface(bus.get_object("org.bluez", x), - "org.bluez.Node") - print(" [ " + x + " ]") - - properties = node.GetProperties() - for key in properties.keys(): - print(" %s = %s" % (key, properties[key])) - print("") |