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:
f2f5810
)
test: Update list-modems to the new API
author
Denis Kenzior
<denkenz@gmail.com>
Thu, 27 May 2010 19:59:04 +0000
(14:59 -0500)
committer
Denis Kenzior
<denkenz@gmail.com>
Thu, 27 May 2010 19:59:04 +0000
(14:59 -0500)
test/list-modems
patch
|
blob
|
history
diff --git
a/test/list-modems
b/test/list-modems
index
7425c8d
..
154b93e
100755
(executable)
--- a/
test/list-modems
+++ b/
test/list-modems
@@
-42,13
+42,17
@@
for path in properties["Modems"]:
"MultipartyCalls",
"EmergencyNumbers",
"SubscriberNumbers",
- "ServiceDiallingNumbers",
"PreferredLanguages",
"PrimaryContexts",
"LockedPins"]:
val = ""
for i in properties[key]:
val += i + " "
+ elif key in ["ServiceNumbers"]:
+ val = ""
+ for i in properties[key]:
+ val += "[" + i + "] = '"
+ val += properties[key][i] + "' "
elif key in ["MobileNetworkCodeLength",
"VoicemailMessageCount",
"MicrophoneVolume",