diff options
Diffstat (limited to 'test/show-introspection')
-rwxr-xr-x | test/show-introspection | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/test/show-introspection b/test/show-introspection index 5e392c75..e64dd273 100755 --- a/test/show-introspection +++ b/test/show-introspection @@ -15,13 +15,7 @@ manager = dbus.Interface(bus.get_object("org.moblin.connman", "/"), properties = manager.GetProperties() for path in properties["Technologies"]: - technology = dbus.Interface(bus.get_object("org.moblin.connman", path), - "org.moblin.connman.Technology") + object = dbus.Interface(bus.get_object("org.moblin.connman", path), + "org.freedesktop.DBus.Introspectable") - properties = technology.GetProperties() - - for path in properties["Devices"]: - object = dbus.Interface(bus.get_object("org.moblin.connman", path), - "org.freedesktop.DBus.Introspectable") - - print object.Introspect() + print object.Introspect() |