All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] test: fix parameter type error in 'test-advice-of-charge'-script
@ 2011-02-16  8:58 Paavo Leinonen
  2011-02-16 15:10 ` Denis Kenzior
  0 siblings, 1 reply; 2+ messages in thread
From: Paavo Leinonen @ 2011-02-16  8:58 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 581 bytes --]

---
 test/test-advice-of-charge |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/test/test-advice-of-charge b/test/test-advice-of-charge
index d71b7c6..9f3f655 100755
--- a/test/test-advice-of-charge
+++ b/test/test-advice-of-charge
@@ -73,7 +73,7 @@ if __name__ == "__main__":
 	else:
 		try:
 			if property == 'AccumulatedCallMeterMaximum':
-				newvalue = int(newvalue)
+				newvalue = dbus.UInt32(newvalue)
 			elif property == 'PricePerUnit':
 				newvalue = float(newvalue)
 			cm.SetProperty(property, newvalue, pin)
-- 
1.7.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] test: fix parameter type error in 'test-advice-of-charge'-script
  2011-02-16  8:58 [PATCH] test: fix parameter type error in 'test-advice-of-charge'-script Paavo Leinonen
@ 2011-02-16 15:10 ` Denis Kenzior
  0 siblings, 0 replies; 2+ messages in thread
From: Denis Kenzior @ 2011-02-16 15:10 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 220 bytes --]

Hi Paavo,

On 02/16/2011 02:58 AM, Paavo Leinonen wrote:
> ---
>  test/test-advice-of-charge |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 

Patch has been applied, thanks.

Regards,
-Denis

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-02-16 15:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-16  8:58 [PATCH] test: fix parameter type error in 'test-advice-of-charge'-script Paavo Leinonen
2011-02-16 15:10 ` 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.