Add some extra special handling to list-modem test script

This commit is contained in:
Marcel Holtmann 2009-10-25 00:42:23 +09:00
parent 427224e9f8
commit 8864778c02
1 changed files with 4 additions and 1 deletions

View File

@ -44,12 +44,15 @@ for path in properties["Modems"]:
"SubscriberNumbers",
"ServiceDiallingNumbers",
"PreferredLanguages",
"PrimaryContexts",
"LockedPins"]:
val = ""
for i in properties[key]:
val += i + " "
elif key in ["MobileNetworkCodeLength",
"VoicemailMessageCount"]:
"VoicemailMessageCount",
"MicrophoneVolume",
"SpeakerVolume"]:
val = int(properties[key])
else:
val = str(properties[key])