generic-poky/bitbake/lib/bb/server
Joshua Lock b9617bf6e1 bitbake/xmlrpc: Modify xmlrpc server to work with Python 2.7
Python 2.7's library changes some of xmlrpclib's internal implementation such
that interacting with a proxy to BitBakes SimpleXMLRPCServer would cause
BitBake to crash.

The issue was traced to changes in the xmlrpclib.Transport implementation and
Python bug #8194 (http://bugs.python.org/issue8194).

This patch introduces a workaround by create a subclass of
xmlrpclib.Transport, which overrides the offending methods with the Python
2.6.6 implementation copy and pasted from the Python 2.6.6 xmlrpclib, and
using this BBTransport implementation for both xmlrpclib.Server objects we
create.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-12-07 12:51:59 +00:00
..
__init__.py bitbake: Don't import xmlrpc server unless needed 2010-01-22 16:15:50 +00:00
none.py bitbake: Simplfy pre and post cooker hooks 2010-11-28 13:54:31 -08:00
xmlrpc.py bitbake/xmlrpc: Modify xmlrpc server to work with Python 2.7 2010-12-07 12:51:59 +00:00