On Mar 26, 2007, at 4:18 PM, Jaroslaw Zabiello wrote:

>
> Acording to Python manual (http://docs.python.org/lib/module-
> xmlrpclib.html) it is possible to send None via XML-RPC protoco but it
> does not work in Pylons. I found (http://docs.python.org/lib/
> node658.html) that xmlrpclib.dumps() requires one more parameter
> (allow_none=True) which can fix this problem.
>
> pylons/controllers.py
>
> old line 295
> response = xmlrpclib.dumps(raw_response, methodresponse=True)
>
> fixed line 295:
> response = xmlrpclib.dumps(raw_response, methodresponse=True,
> allow_none=True)
>

I've just added this, but as an option:

http://pylonshq.com/project/pylonshq/changeset/1916

It defaults to False like dumps. Thanks!

--
Philip Jenvey



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to