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:
37ae483
)
test: add Retries property to list-modems
author
Jeevaka Badrappan
<jeevaka.badrappan@elektrobit.com>
Mon, 17 Jan 2011 17:49:53 +0000
(09:49 -0800)
committer
Denis Kenzior
<denkenz@gmail.com>
Mon, 17 Jan 2011 23:57:11 +0000
(17:57 -0600)
test/list-modems
patch
|
blob
|
history
diff --git
a/test/list-modems
b/test/list-modems
index
8c075ac
..
249ae15
100755
(executable)
--- 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)