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:
0ed841b
)
Use global state property from manager interface
author
Marcel Holtmann
<marcel@holtmann.org>
Sun, 23 Nov 2008 20:27:14 +0000
(21:27 +0100)
committer
Marcel Holtmann
<marcel@holtmann.org>
Sun, 23 Nov 2008 20:27:14 +0000
(21:27 +0100)
test/get-state
patch
|
blob
|
history
diff --git
a/test/get-state
b/test/get-state
index
f82b44c
..
38c1dc9
100755
(executable)
--- a/
test/get-state
+++ b/
test/get-state
@@
-7,6
+7,6
@@
bus = dbus.SystemBus()
manager = dbus.Interface(bus.get_object('org.moblin.connman', "/"),
'org.moblin.connman.Manager')
-
state = manager.GetState
()
+
properties = manager.GetProperties
()
-print "System is %s" % (
state
)
+print "System is %s" % (
properties["State"]
)