From: =?unknown-8bit?q?Beno=C3=AEt?= Monin <benoit.monin@gmx.fr>
To: ofono@ofono.org
Subject: [PATCH resend] test/list-modems : print Strength as an integer
Date: Fri, 17 Dec 2010 21:33:06 +0100 [thread overview]
Message-ID: <201012172133.06584.benoit.monin@gmx.fr> (raw)
In-Reply-To: <4D0AB550.9000308@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 665 bytes --]
org.ofono.NetworkRegistration property Strength is an integer,
so print it as such.
---
test/list-modems | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/test/list-modems b/test/list-modems
index 557efd5..8c075ac 100755
--- a/test/list-modems
+++ b/test/list-modems
@@ -51,7 +51,8 @@ for path, properties in modems:
elif key in ["MobileNetworkCodeLength",
"VoicemailMessageCount",
"MicrophoneVolume",
- "SpeakerVolume"]:
+ "SpeakerVolume",
+ "Strength"]:
val = int(properties[key])
elif key in ["MainMenu"]:
val = ", ".join([ text + " (" + str(int(icon)) +
--
1.7.1
next prev parent reply other threads:[~2010-12-17 20:33 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-15 15:07 [PATCH] test/list-modems : print Strength as an integer =?unknown-8bit?q?Beno=C3=AEt?= Monin
2010-12-17 0:56 ` Denis Kenzior
2010-12-17 20:32 ` =?unknown-8bit?q?Beno=C3=AEt?= Monin
2010-12-17 20:33 ` =?unknown-8bit?q?Beno=C3=AEt?= Monin [this message]
2010-12-17 23:12 ` [PATCH resend] " Denis Kenzior
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201012172133.06584.benoit.monin@gmx.fr \
--to=benoit.monin@gmx.fr \
--cc=ofono@ofono.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.