From: Marcel Holtmann Date: Sun, 29 Nov 2009 19:46:23 +0000 (+0100) Subject: Add better decoding of network list details X-Git-Tag: 0.48~185 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5e831c9c438a6db3dbaac424f50d4017bece7cd3;p=platform%2Fupstream%2Fconnman.git Add better decoding of network list details --- diff --git a/test/list-devices b/test/list-devices index 691a6fb..61d8bbc 100755 --- a/test/list-devices +++ b/test/list-devices @@ -18,6 +18,12 @@ for path in properties["Devices"]: print "[ %s ]" % (path) for key in properties.keys(): - print " %s = %s" % (key, properties[key]) + if key in ["Networks"]: + val = "" + for i in properties[key]: + val += i + " " + else: + val = str(properties[key]) + print " %s = %s" % (key, val) print