[Zope] Re: python-script to python-script XMLRPC

Dennis Allison allison at sumeru.stanford.EDU
Sat Jan 10 13:24:29 EST 2004


Ooops-- right you are. Thanks.  -d

On Sat, 10 Jan 2004, Hartmut Goebel wrote:

> Hi,
> 
> > getattr( server, 'foo')( [params] )
> 
> Is this the statement you actually use? If so: you are passing a single 
> argument, which is a list with a single element. This is not what you want.
> 
> Use
>    getattr( server, 'foo')( **params )
> 
> which will pass teh elements of the dict as keyword parameters.
> 
> -- 
> Regards
> Hartmut Goebel
> 
> | Hartmut Goebel               | We build the crazy compilers |
> | h.goebel at crazy-compilers.com | Compiler Manufacturer        |
> 
> 
> 
> _______________________________________________
> Zope maillist  -  Zope at zope.org
> http://mail.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists - 
>  http://mail.zope.org/mailman/listinfo/zope-announce
>  http://mail.zope.org/mailman/listinfo/zope-dev )
> 




More information about the Zope mailing list