diff options
author | Russell Bryant <russell@ovn.org> | 2016-04-14 09:23:27 -0400 |
---|---|---|
committer | Russell Bryant <russell@ovn.org> | 2016-04-15 16:52:50 -0400 |
commit | 28b4f69ba26d2178247563288c9397ca9f9766d8 (patch) | |
tree | efcc0c4de24b8a20510a6672e5626aada72c6c3c /tutorial | |
parent | 96f46bfc3d7e26246228754905a4a52f4ec6021d (diff) | |
download | openvswitch-28b4f69ba26d2178247563288c9397ca9f9766d8.tar.gz |
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@ovn.org>
Acked-by: Ben Pfaff <blp@ovn.org>
Acked-by: Miguel Angel Ajo <majopela@redhat.com>
Diffstat (limited to 'tutorial')
0 files changed, 0 insertions, 0 deletions