projects
/
platform
/
upstream
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
800c08e
)
Handle signal strength property
author
Marcel Holtmann
<marcel@holtmann.org>
Mon, 15 Dec 2008 01:55:35 +0000
(
02:55
+0100)
committer
Marcel Holtmann
<marcel@holtmann.org>
Mon, 15 Dec 2008 01:55:35 +0000
(
02:55
+0100)
test/test-manager
patch
|
blob
|
history
diff --git
a/test/test-manager
b/test/test-manager
index
afeb110
..
c99b54b
100755
(executable)
--- a/
test/test-manager
+++ b/
test/test-manager
@@
-30,7
+30,13
@@
def print_properties(key, value):
for key in properties.keys():
if (key == "Networks"):
continue
- print " %s = %s" % (key, properties[key])
+
+ if (key == "Strength"):
+ val = int(properties[key])
+ else:
+ val = str(properties[key])
+
+ print " %s = %s" % (key, val)
if "Networks" in properties.keys():
list = ""