All of lore.kernel.org
 help / color / mirror / Atom feed
From: =?unknown-8bit?q?Beno=C3=AEt?= Monin <benoit.monin@gmx.fr>
To: ofono@ofono.org
Subject: [PATCH] test/list-modems : print Strength as an integer
Date: Wed, 15 Dec 2010 16:07:46 +0100	[thread overview]
Message-ID: <20101215150746.263810@gmx.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 627 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.0.3


             reply	other threads:[~2010-12-15 15:07 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-15 15:07 =?unknown-8bit?q?Beno=C3=AEt?= Monin [this message]
2010-12-17  0:56 ` [PATCH] test/list-modems : print Strength as an integer Denis Kenzior
2010-12-17 20:32   ` =?unknown-8bit?q?Beno=C3=AEt?= Monin
2010-12-17 20:33   ` [PATCH resend] " =?unknown-8bit?q?Beno=C3=AEt?= Monin
2010-12-17 23:12     ` 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=20101215150746.263810@gmx.com \
    --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.