python: Fix print function compatibility.
authorRussell Bryant <russell@ovn.org>
Mon, 14 Dec 2015 15:21:53 +0000 (10:21 -0500)
committerRussell Bryant <russell@ovn.org>
Tue, 12 Jan 2016 16:47:33 +0000 (11:47 -0500)
commit8ea171aba044bf605c31313330ccabfc4fc5846c
treee70eb368b777364217575964b96d220da07c951c
parentf3068bff92dc4fb76ee4aab149990f2492bcbc24
python: Fix print function compatibility.

The print statement from Python 2 is a function in Python 3.  Enable
print function support for Python 2 and convert print statements to
function calls.

Enable the H233 flake8 warning.  If the hacking plugin is installed,
this will generate warnings for print statement usage not compatible
with Python 3.

  H233 Python 3.x incompatible use of print operator

Signed-off-by: Russell Bryant <russell@ovn.org>
Acked-by: Ben Pfaff <blp@ovn.org>
Makefile.am
ofproto/ipfix-gen-entities
python/ovstest/rpcserver.py
python/ovstest/tests.py
tests/test-json.py
tests/test-jsonrpc.py
tests/test-ovsdb.py
tests/test-reconnect.py
utilities/ovs-pcap.in