From: Marcel Holtmann Date: Thu, 19 Nov 2009 03:52:09 +0000 (+0100) Subject: Add pretty decoding for DomainNameServers settings X-Git-Tag: 0.11~7 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=676569581c15eb1a4caa596ec0d3b1853bc9b706;p=platform%2Fupstream%2Fofono.git Add pretty decoding for DomainNameServers settings --- diff --git a/test/list-contexts b/test/list-contexts index e556ca8..f073118 100755 --- a/test/list-contexts +++ b/test/list-contexts @@ -38,7 +38,11 @@ for path in properties["Modems"]: val = "{" for i in properties[key].keys(): val += " " + i + "=" - val += properties[key][i] + if i in ["DomainNameServers"]: + for n in properties[key][i]: + val += n + "," + else: + val += properties[key][i] val += " }" else: val = str(properties[key])