From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============9068594431555496651==" MIME-Version: 1.0 From: =?unknown-8bit?q?Beno=C3=AEt?= Monin Subject: [PATCH] test/list-modems : print Strength as an integer Date: Wed, 15 Dec 2010 16:07:46 +0100 Message-ID: <20101215150746.263810@gmx.com> List-Id: To: ofono@ofono.org --===============9068594431555496651== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable org.ofono.NetworkRegistration property Strength is an integer, so print it as such. --- test/list-modems =C2=A0 =C2=A0 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 =3D int(properties[key]) elif key in ["MainMenu"]: val =3D ", ".join([ text + " (" + str(int(icon)) + -- = 1.7.0.3 --===============9068594431555496651==--