From f7a8a3d9142cf12be584f17aca6027451cbacace Mon Sep 17 00:00:00 2001 From: Jeevaka Badrappan Date: Mon, 17 Jan 2011 09:49:53 -0800 Subject: [PATCH] test: add Retries property to list-modems --- test/list-modems | 5 +++++ 1 file changed, 5 insertions(+) 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)