mirror of git://git.sysmocom.de/ofono
Decode the settings information of a context
This commit is contained in:
parent
640d2c95b9
commit
49203cce1b
|
@ -34,6 +34,13 @@ for path in properties["Modems"]:
|
|||
print " [ %s ]" % (path)
|
||||
|
||||
for key in properties.keys():
|
||||
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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue