mirror of git://git.sysmocom.de/ofono
test: add Retries property to list-modems
This commit is contained in:
parent
37ae4832de
commit
f7a8a3d914
|
@ -57,6 +57,11 @@ for path, properties in modems:
|
||||||
elif key in ["MainMenu"]:
|
elif key in ["MainMenu"]:
|
||||||
val = ", ".join([ text + " (" + str(int(icon)) +
|
val = ", ".join([ text + " (" + str(int(icon)) +
|
||||||
")" for text, icon in properties[key] ])
|
")" for text, icon in properties[key] ])
|
||||||
|
elif key in ["Retries"]:
|
||||||
|
val = ""
|
||||||
|
for i in properties[key]:
|
||||||
|
val += "[" + i + " = "
|
||||||
|
val += str(int(properties[key][i])) + "] "
|
||||||
else:
|
else:
|
||||||
val = str(properties[key])
|
val = str(properties[key])
|
||||||
print " %s = %s" % (key, val)
|
print " %s = %s" % (key, val)
|
||||||
|
|
Loading…
Reference in New Issue