projects
/
connman
/ 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
86faca1
..
bbf93c8
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.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")