[ovs-dev] [PATCH 4/9] python: Fix print function compatibility.
Ben Pfaff
blp at ovn.org
Tue Jan 12 01:32:49 UTC 2016
On Wed, Jan 06, 2016 at 03:50:24PM -0500, Russell Bryant wrote:
> 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 at ovn.org>
Acked-by: Ben Pfaff <blp at ovn.org>
More information about the dev
mailing list