10 Jan
2004
10 Jan
'04
9:33 a.m.
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 |