summaryrefslogtreecommitdiffstats
path: root/test/list-modems
diff options
context:
space:
mode:
authorJeevaka Badrappan <jeevaka.badrappan@elektrobit.com>2011-01-17 09:49:53 -0800
committerDenis Kenzior <denkenz@gmail.com>2011-01-17 17:57:11 -0600
commitf7a8a3d9142cf12be584f17aca6027451cbacace (patch)
treed9d6828779d12edcee79d188d1e22a42cdfbba1d /test/list-modems
parent37ae4832de078f72e209266138feb808fa766bc2 (diff)
downloadofono-f7a8a3d9142cf12be584f17aca6027451cbacace.tar.bz2
test: add Retries property to list-modems
Diffstat (limited to 'test/list-modems')
-rwxr-xr-xtest/list-modems5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/list-modems b/test/list-modems
index 8c075ac0..249ae15d 100755
--- a/test/list-modems
+++ b/test/list-modems
@@ -57,6 +57,11 @@ for path, properties in modems:
elif key in ["MainMenu"]:
val = ", ".join([ text + " (" + str(int(icon)) +
")" for text, icon in properties[key] ])
+ elif key in ["Retries"]:
+ val = ""
+ for i in properties[key]:
+ val += "[" + i + " = "
+ val += str(int(properties[key][i])) + "] "
else:
val = str(properties[key])
print " %s = %s" % (key, val)