Commit 560ace9d authored by Toby Dickenson's avatar Toby Dickenson

revert unintended change: a function return value of None should be marshalled...

revert unintended change: a function return value of None should be marshalled as an xmlrpc boolean False
parent d126f3c8
......@@ -374,7 +374,7 @@ class Marshaller:
# Python's None. the standard xmlrpclib raises an exception,
# but marshalling it as a zero is more convenient.
def dump_none(self, value):
self.write("<value><int>0</int></value>\n")
self.write("<value><boolean>0</boolean></value>\n")
dispatch[NoneType] = dump_none
def container(self, value):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment