[ovs-git] [openvswitch/ovs] 99c748: ovs-bugtool: Port to python3.
GitHub
noreply at github.com
Tue Jul 12 22:51:21 UTC 2016
Branch: refs/heads/master
Home: https://github.com/openvswitch/ovs
Commit: 99c74883ac5c0856d8de018f0bb227837e428da0
https://github.com/openvswitch/ovs/commit/99c74883ac5c0856d8de018f0bb227837e428da0
Author: Joe Stringer <joe at ovn.org>
Date: 2016-07-12 (Tue, 12 Jul 2016)
Changed paths:
M utilities/bugtool/ovs-bugtool.in
Log Message:
-----------
ovs-bugtool: Port to python3.
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>
Acked-by: Ben Pfaff <blp at ovn.org>
More information about the git
mailing list