projects
/
platform
/
upstream
/
ofono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9f93137
)
Add pretty decoding for DomainNameServers settings
author
Marcel Holtmann
<marcel@holtmann.org>
Thu, 19 Nov 2009 03:52:09 +0000
(
04:52
+0100)
committer
Marcel Holtmann
<marcel@holtmann.org>
Thu, 19 Nov 2009 03:52:09 +0000
(
04:52
+0100)
test/list-contexts
patch
|
blob
|
history
diff --git
a/test/list-contexts
b/test/list-contexts
index
e556ca8
..
f073118
100755
(executable)
--- a/
test/list-contexts
+++ b/
test/list-contexts
@@
-38,7
+38,11
@@
for path in properties["Modems"]:
val = "{"
for i in properties[key].keys():
val += " " + i + "="
- val += properties[key][i]
+ if i in ["DomainNameServers"]:
+ for n in properties[key][i]:
+ val += n + ","
+ else:
+ val += properties[key][i]
val += " }"
else:
val = str(properties[key])