diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2009-09-08 03:04:51 +0200 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2009-09-08 03:04:51 +0200 |
commit | e4959e02d11e1d0becd43b702db7590b611bcebc (patch) | |
tree | 4c93f214d1c37047098402253566d490fe8f6132 /test/monitor-ofono | |
parent | 0910ee73495196280a3acab1dfb649a8ceb7140e (diff) | |
download | ofono-e4959e02d11e1d0becd43b702db7590b611bcebc.tar.bz2 |
Mark some properties as integer so they get printed properly
Diffstat (limited to 'test/monitor-ofono')
-rwxr-xr-x | test/monitor-ofono | 3 |
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) |