On Mar 5, 2010, at 12:15 PM, Kamil Wasilewski wrote:
> server.soapproxy.config.argsOrdering = {'doGetCountries': ['country-code',
> 'webapi-key'] }
> server.doGetCountries(country-code=COUNTRYID}, webapi-key=WEBAPIKEY)
>
> The above method allows me to specify the order and name of variables being
> sent, but i have a problem since the variables have a "-" sign in the middle,
> is there a way to escape it in the variable name or get around the problem?
>
> Thanks!
try:
server.doGetCountries(**{'country-code':COUNTRYID, 'webapi-key':WEBAPIKEY})
-phil
_______________________________________________
Twisted-Python mailing list
[email protected]
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python