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

Hartmut Goebel h.goebel at crazy-compilers.com
Sat Jan 10 04:33:22 EST 2004


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        |





More information about the Zope mailing list