From: Marcel Holtmann Date: Wed, 3 Dec 2008 21:57:52 +0000 (+0100) Subject: Only introspect devices X-Git-Tag: accepted/2.0alpha-wayland/20121110.002834~4549 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=647a017fc5c757d99dd39e2a65f113abe3ea0a3e;p=profile%2Fivi%2Fconnman.git Only introspect devices --- diff --git a/test/show-introspection b/test/show-introspection index 86faca1..bbf93c8 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")