Open Source Telephony
 help / color / mirror / Atom feed
* [PATCH] test: add Retries property to list-modems
@ 2011-01-17 17:49 Jeevaka Badrappan
  2011-01-17 23:57 ` Denis Kenzior
  0 siblings, 1 reply; 2+ messages in thread
From: Jeevaka Badrappan @ 2011-01-17 17:49 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 665 bytes --]

---
 test/list-modems |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/test/list-modems b/test/list-modems
index 8c075ac..249ae15 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)
-- 
1.7.0.4


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-01-17 23:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-17 17:49 [PATCH] test: add Retries property to list-modems Jeevaka Badrappan
2011-01-17 23:57 ` Denis Kenzior

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox