test: Fix printing of modem property strings
authorMarcel Holtmann <marcel@holtmann.org>
Thu, 9 Aug 2012 17:28:27 +0000 (10:28 -0700)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 9 Aug 2012 17:28:27 +0000 (10:28 -0700)
test/list-modems

index 7e92474..5726bc8 100755 (executable)
@@ -18,7 +18,7 @@ for path, properties in modems:
                        for i in properties[key]:
                                val += i + " "
                else:
-                       val = str(properties[key])
+                       val = properties[key]
                print "    %s = %s" % (key, val)
 
        for interface in properties["Interfaces"]:
@@ -75,7 +75,7 @@ for path, properties in modems:
                                                val += properties[key][i]
                                val += " }"
                        else:
-                               val = str(properties[key])
+                               val = properties[key]
                        print "        %s = %s" % (key, val)
 
        print