* [PATCH] test/list-modems : print Strength as an integer
@ 2010-12-15 15:07 =?unknown-8bit?q?Beno=C3=AEt?= Monin
2010-12-17 0:56 ` Denis Kenzior
0 siblings, 1 reply; 5+ messages in thread
From: =?unknown-8bit?q?Beno=C3=AEt?= Monin @ 2010-12-15 15:07 UTC (permalink / raw)
To: ofono
[-- 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
^ permalink raw reply related [flat|nested] 5+ messages in thread* Re: [PATCH] test/list-modems : print Strength as an integer
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 ` [PATCH resend] " =?unknown-8bit?q?Beno=C3=AEt?= Monin
0 siblings, 2 replies; 5+ messages in thread
From: Denis Kenzior @ 2010-12-17 0:56 UTC (permalink / raw)
To: ofono
[-- Attachment #1: Type: text/plain, Size: 595 bytes --]
Hi Benoit,
On 12/15/2010 09:07 AM, "Benoît Monin" wrote:
> org.ofono.NetworkRegistration property Strength is an integer,
> so print it as such.
> ---
> test/list-modems 3 ++-
> 1 files changed, 2 insertions(+), 1 deletions(-)
>
Patch looks fine, however it does not apply:
Applying: test/list-modems : print Strength as an integer
error: patch failed: test/list-modems:51
error: test/list-modems: patch does not apply
Patch failed at 0001 test/list-modems : print Strength as an integer
Can you make sure to configure your MTA agent correctly?
Regards,
-Denis
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] test/list-modems : print Strength as an integer
2010-12-17 0:56 ` 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
1 sibling, 0 replies; 5+ messages in thread
From: =?unknown-8bit?q?Beno=C3=AEt?= Monin @ 2010-12-17 20:32 UTC (permalink / raw)
To: ofono
[-- Attachment #1: Type: text/plain, Size: 252 bytes --]
Hi Denis,
Le vendredi 17 décembre 2010 01:56:48 Denis Kenzior, vous avez écrit :
[snip]
> Can you make sure to configure your MTA agent correctly?
>
Duh, my dog ate my patch, again.
Sorry about that, resending now.
--
Cheers,
Benoît.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH resend] test/list-modems : print Strength as an integer
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
2010-12-17 23:12 ` Denis Kenzior
1 sibling, 1 reply; 5+ messages in thread
From: =?unknown-8bit?q?Beno=C3=AEt?= Monin @ 2010-12-17 20:33 UTC (permalink / raw)
To: ofono
[-- 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
^ permalink raw reply related [flat|nested] 5+ messages in thread
end of thread, other threads:[~2010-12-17 23:12 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 ` [PATCH resend] " =?unknown-8bit?q?Beno=C3=AEt?= Monin
2010-12-17 23:12 ` Denis Kenzior
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.