mirror of git://git.sysmocom.de/ofono
Show list of technologies in a simpler format
This commit is contained in:
parent
9b4e898702
commit
7deca83e99
|
@ -34,7 +34,12 @@ for path in properties["Modems"]:
|
||||||
print " [ %s ]" % (path)
|
print " [ %s ]" % (path)
|
||||||
|
|
||||||
for key in properties.keys():
|
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 " %s = %s" % (key, val)
|
||||||
|
|
||||||
print
|
print
|
||||||
|
|
Loading…
Reference in New Issue