Mark some properties as integer so they get printed properly
authorMarcel Holtmann <marcel@holtmann.org>
Tue, 8 Sep 2009 01:04:51 +0000 (03:04 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 8 Sep 2009 01:04:51 +0000 (03:04 +0200)
test/monitor-ofono

index dbcd846..4f3c5a0 100755 (executable)
@@ -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)