From 7deca83e991a4a533175c1e45e5a4d82d8e64990 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Wed, 18 Nov 2009 11:52:39 +0100 Subject: [PATCH] Show list of technologies in a simpler format --- test/list-operators | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/test/list-operators b/test/list-operators index 3e9e4082..545270b4 100755 --- a/test/list-operators +++ b/test/list-operators @@ -34,7 +34,12 @@ for path in properties["Modems"]: print " [ %s ]" % (path) for key in properties.keys(): - val = str(properties[key]) + if key in ["Technologies"]: + val = "" + for i in properties[key]: + val += i + " " + else: + val = str(properties[key]) print " %s = %s" % (key, val) print