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@crazy-compilers.com | Compiler Manufacturer |
_______________________________________________ Zope maillist - Zope@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 )