diff options
author | Joshua Lock <josh@linux.intel.com> | 2010-12-01 14:40:21 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-12-07 12:51:59 +0000 |
commit | b9617bf6e15fe75f850fe5644eea4b7f04eed792 (patch) | |
tree | 9073766b2f9d6874808cd8ca1d17e410b86d1b43 /bitbake/lib/bb/fetch/hg.py | |
parent | 84384aa8a9b052a4740fd266694ecb4990b6edf5 (diff) | |
download | openembedded-core-b9617bf6e15fe75f850fe5644eea4b7f04eed792.tar.gz openembedded-core-b9617bf6e15fe75f850fe5644eea4b7f04eed792.tar.bz2 openembedded-core-b9617bf6e15fe75f850fe5644eea4b7f04eed792.tar.xz openembedded-core-b9617bf6e15fe75f850fe5644eea4b7f04eed792.zip |
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>
Diffstat (limited to 'bitbake/lib/bb/fetch/hg.py')
0 files changed, 0 insertions, 0 deletions