projects
/
platform
/
upstream
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a3b964
)
Only introspect devices
author
Marcel Holtmann
<marcel@holtmann.org>
Wed, 3 Dec 2008 21:57:52 +0000
(22:57 +0100)
committer
Marcel Holtmann
<marcel@holtmann.org>
Wed, 3 Dec 2008 21:57:52 +0000
(22:57 +0100)
test/show-introspection
patch
|
blob
|
history
diff --git
a/test/show-introspection
b/test/show-introspection
index 86faca18e4d7ce19d2e51ca697ddd69090883ae8..bbf93c8b6a2fe74dd8e9f991fc16946ea92d3c8a 100755
(executable)
--- 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.ListElement
s()
+
properties = manager.GetPropertie
s()
-for path in
elements
:
+for path in
properties["Devices"]
:
object = dbus.Interface(bus.get_object("org.moblin.connman", path),
"org.freedesktop.DBus.Introspectable")