[ovs-dev] [PATCH] ovs-bugtool: Port to python3.

Ben Pfaff blp at ovn.org
Sat Jul 2 17:29:38 UTC 2016


On Fri, Jun 24, 2016 at 02:15:21PM -0700, Joe Stringer wrote:
> Fix python2-specific code in ovs-bugtool:
> * python2 long() is the same as python2 int() and python3 int(). Convert
>   the long() to int().
> * raw_input() was renamed to input(). Use python-six's input() on python2.
> * Drop lambda tuple unpacking, we can go back to regular lambda syntax.
> * file() can be replaced with open().
> 
> Signed-off-by: Joe Stringer <joe at ovn.org>

Assuming you tested it:
Acked-by: Ben Pfaff <blp at ovn.org>

Thanks!

Ben



More information about the dev mailing list