Since commit e23812fc60af ("Increase prerequisite from Python 2.4 to Python 2.7.") in OVS v2.5, we have required a newer version of python to build and run OVS on all platforms, including Xenserver. However, support for python3 was not yet introduced.
This series updates the xenserver scripts just enough to allow the interface-reconfigure tests to run and pass on both python2.7 and python3, without attempting to fully satisfy PEP-8 or flake8. This should assist developers beginning to use python3 as the default python interpreter on their development systems. Joe Stringer (6): xenserver: Sort vsctl port options. xenserver: Fix string compatibility in python3. xenserver: Fix list/map access for python3. xenserver: Remove tuple unpacking in lambdas. xenserver: Use PEP 3110 exception syntax. xenserver: Remove deprecated print statement. tests/interface-reconfigure.at | 20 +++--- .../opt_xensource_libexec_InterfaceReconfigure.py | 75 ++++++++++++---------- ...ensource_libexec_InterfaceReconfigureVswitch.py | 12 ++-- .../opt_xensource_libexec_interface-reconfigure | 35 +++++----- 4 files changed, 75 insertions(+), 67 deletions(-) -- 2.8.2 _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev