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)

--
Jaroslaw Zabiello
http://blog.zabiello.com


--~--~---------~--~----~------------~-------~--~----~
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