From: Christian Lam <christian....@nokia.com> --- test/list-modems | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/test/list-modems b/test/list-modems index 249ae15..662a3c7 100755 --- a/test/list-modems +++ b/test/list-modems @@ -62,6 +62,16 @@ for path, properties in modems: for i in properties[key]: val += "[" + i + " = " val += str(int(properties[key][i])) + "] " + elif key in ["Settings"]: + val = "{" + for i in properties[key].keys(): + val += " " + i + "=" + if i in ["DomainNameServers"]: + for n in properties[key][i]: + val += n + "," + else: + val += properties[key][i] + val += " }" else: val = str(properties[key]) print " %s = %s" % (key, val) -- 1.7.0.4 _______________________________________________ ofono mailing list ofono@ofono.org http://lists.ofono.org/listinfo/ofono