python: Fix xmlrpclib imports.
authorRussell Bryant <russell@ovn.org>
Mon, 14 Dec 2015 19:03:14 +0000 (14:03 -0500)
committerRussell Bryant <russell@ovn.org>
Wed, 20 Jan 2016 21:43:15 +0000 (16:43 -0500)
commit73eb682edb67f44aead7f2c70e9e8777e87df898
treea00ec92b3064f258eee85340e8c9b4f26dc93c25
parent0a96a21b6ee67d7cde2abd72a3a5bd290ac618d5
python: Fix xmlrpclib imports.

Fix imports of xmlrpclib to be compatible with Python 3.  Python 2 had
xmlrpclib (client) and SimpleXMLRPCServer (server).  In Python 3, these
have been renamed to xmlrpc.client and xmlrpc.server.

The solution implemented here is to use the six library.  It may seem
excessive for this particular issue, but the six library provides
helpers for Python 2 and 3 compatibility for many different issues.
This is just the first of many uses of the six library.

Signed-off-by: Russell Bryant <russell@ovn.org>
Acked-by: Ben Pfaff <blp@ovn.org>
INSTALL.md
debian/control
m4/openvswitch.m4
python/ovstest/rpcserver.py
python/ovstest/util.py
rhel/openvswitch-fedora.spec.in
rhel/openvswitch.spec.in