projects
/
platform
/
upstream
/
ofono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0910ee7
)
Mark some properties as integer so they get printed properly
author
Marcel Holtmann
<marcel@holtmann.org>
Tue, 8 Sep 2009 01:04:51 +0000
(
03:04
+0200)
committer
Marcel Holtmann
<marcel@holtmann.org>
Tue, 8 Sep 2009 01:04:51 +0000
(
03:04
+0200)
test/monitor-ofono
patch
|
blob
|
history
diff --git
a/test/monitor-ofono
b/test/monitor-ofono
index
dbcd846
..
4f3c5a0
100755
(executable)
--- 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)