[ovs-git] [openvswitch/ovs] 28b4f6: python: Update Python version checks.
noreply at github.com
Fri Apr 15 20:53:56 UTC 2016
Author: Russell Bryant <russell at ovn.org>
Date: 2016-04-15 (Fri, 15 Apr 2016)
python: Update Python version checks.
Instead of checking the raw version, use the six.PY2 and six.PY3 helpers
to determine if Python 2 or Python 3 are in use.
In one case, the check was to determine if the Python version was >=
2.6. We now only support >= 2.7, so this check would always be true.
Signed-off-by: Russell Bryant <russell at ovn.org>
Acked-by: Ben Pfaff <blp at ovn.org>
Acked-by: Miguel Angel Ajo <majopela at redhat.com>
More information about the git