Decode the settings information of a context

This commit is contained in:
Marcel Holtmann 2009-11-18 22:37:46 +01:00
parent 640d2c95b9
commit 49203cce1b
1 changed files with 8 additions and 1 deletions

View File

@ -34,7 +34,14 @@ for path in properties["Modems"]:
print " [ %s ]" % (path)
for key in properties.keys():
val = str(properties[key])
if key in ["Settings"]:
val = "{"
for i in properties[key].keys():
val += " " + i + "="
val += properties[key][i]
val += " }"
else:
val = str(properties[key])
print " %s = %s" % (key, val)
print