[PyKDE] [PATCH] Fix void dcop calls

Jim Bublitz jbublitz at nwinternet.com
Thu Aug 31 21:25:17 BST 2006


On Wednesday 23 August 2006 14:43, Sebastian Kügler wrote:
> Attached patch makes calls such as
>
> self.addMethod ('void foo ()', app.foo)
>
> work. Without it, the call fails, since dcop_add does not accept None as
> second argument. dcop-testapp.py is a minimal testcase:
>
> ---SNIP---
> Traceback (most recent call last):
>   File "/usr/lib/python2.4/site-packages/dcopexport.py", line 96, in
> process dcop_add (s, result)
> TypeError: argument 2 of dcop_add() has an invalid type
> ---SNIP---
>
> Did I do something wrong? If not, can this one be merged?

Sorry for the slow response. I've been unable to retrieve mail from the 
account this went to for the last week - just got fixed today.

I'll take a look and get back to you as soon as I can.

Jim




More information about the PyQt mailing list