summaryrefslogtreecommitdiffstats
path: root/test/monitor-ofono
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2009-09-08 03:04:51 +0200
committerMarcel Holtmann <marcel@holtmann.org>2009-09-08 03:04:51 +0200
commite4959e02d11e1d0becd43b702db7590b611bcebc (patch)
tree4c93f214d1c37047098402253566d490fe8f6132 /test/monitor-ofono
parent0910ee73495196280a3acab1dfb649a8ceb7140e (diff)
downloadofono-e4959e02d11e1d0becd43b702db7590b611bcebc.tar.bz2
Mark some properties as integer so they get printed properly
Diffstat (limited to 'test/monitor-ofono')
-rwxr-xr-xtest/monitor-ofono3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/monitor-ofono b/test/monitor-ofono
index dbcd8469..4f3c5a0f 100755
--- a/test/monitor-ofono
+++ b/test/monitor-ofono
@@ -7,7 +7,8 @@ import dbus.mainloop.glib
def property_changed(name, value, path, interface):
iface = interface[interface.rfind(".") + 1:]
- if name in [""]:
+ if name in ["MobileNetworkCodeLength",
+ "VoicemailMessageCount"]:
val = int(value)
else:
val = str(value)