From 647a017fc5c757d99dd39e2a65f113abe3ea0a3e Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Wed, 3 Dec 2008 22:57:52 +0100 Subject: [PATCH] Only introspect devices --- test/show-introspection | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/show-introspection b/test/show-introspection index 86faca18..bbf93c8b 100755 --- a/test/show-introspection +++ b/test/show-introspection @@ -12,9 +12,9 @@ print object.Introspect() manager = dbus.Interface(bus.get_object("org.moblin.connman", "/"), "org.moblin.connman.Manager") -elements = manager.ListElements() +properties = manager.GetProperties() -for path in elements: +for path in properties["Devices"]: object = dbus.Interface(bus.get_object("org.moblin.connman", path), "org.freedesktop.DBus.Introspectable") -- 2.34.1