projects
/
framework
/
connectivity
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1fed4a5
)
Use correct object name for device element
author
Marcel Holtmann
<marcel@holtmann.org>
Sun, 23 Nov 2008 14:09:08 +0000
(15:09 +0100)
committer
Marcel Holtmann
<marcel@holtmann.org>
Sun, 23 Nov 2008 14:09:08 +0000
(15:09 +0100)
test/list-devices
patch
|
blob
|
history
diff --git
a/test/list-devices
b/test/list-devices
index
66af8bd
..
691a6fb
100755
(executable)
--- a/
test/list-devices
+++ b/
test/list-devices
@@
-10,10
+10,10
@@
manager = dbus.Interface(bus.get_object("org.moblin.connman", "/"),
properties = manager.GetProperties()
for path in properties["Devices"]:
-
element
= dbus.Interface(bus.get_object("org.moblin.connman", path),
+
device
= dbus.Interface(bus.get_object("org.moblin.connman", path),
"org.moblin.connman.Device")
- properties =
element
.GetProperties()
+ properties =
device
.GetProperties()
print "[ %s ]" % (path)