Show list of technologies in a simpler format
authorMarcel Holtmann <marcel@holtmann.org>
Wed, 18 Nov 2009 10:52:39 +0000 (11:52 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 18 Nov 2009 10:52:39 +0000 (11:52 +0100)
test/list-operators

index 3e9e408..545270b 100755 (executable)
@@ -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