projects
/
connman
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f93ca20
)
Add support for showing flight mode
author
Marcel Holtmann
<marcel@holtmann.org>
Tue, 6 Jan 2009 00:40:06 +0000
(
01:40
+0100)
committer
Marcel Holtmann
<marcel@holtmann.org>
Tue, 6 Jan 2009 00:40:06 +0000
(
01:40
+0100)
test/test-manager
patch
|
blob
|
history
diff --git
a/test/test-manager
b/test/test-manager
index
09c6e19
..
ea976ca
100755
(executable)
--- a/
test/test-manager
+++ b/
test/test-manager
@@
-54,6
+54,12
@@
def print_properties(key, value):
for key in properties.keys():
if key in ["Profiles", "Devices", "Connections"]:
print_properties(key, properties[key])
+ elif key in ["FlightMode"]:
+ print "%s" % (key)
+ if properties[key] == dbus.Boolean(1):
+ print " true"
+ else:
+ print " false"
else:
print "%s" % (key)
print " %s" % (properties[key])