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:
3f85bd1
)
Add better decoding of network list details
author
Marcel Holtmann
<marcel@holtmann.org>
Sun, 29 Nov 2009 19:46:23 +0000
(20:46 +0100)
committer
Marcel Holtmann
<marcel@holtmann.org>
Sun, 29 Nov 2009 19:46:23 +0000
(20:46 +0100)
test/list-devices
patch
|
blob
|
history
diff --git
a/test/list-devices
b/test/list-devices
index
691a6fb
..
61d8bbc
100755
(executable)
--- a/
test/list-devices
+++ b/
test/list-devices
@@
-18,6
+18,12
@@
for path in properties["Devices"]:
print "[ %s ]" % (path)
for key in properties.keys():
- print " %s = %s" % (key, properties[key])
+ if key in ["Networks"]:
+ val = ""
+ for i in properties[key]:
+ val += i + " "
+ else:
+ val = str(properties[key])
+ print " %s = %s" % (key, val)
print