2
0
mirror of https://github.com/openvswitch/ovs synced 2025-08-31 22:35:15 +00:00

python: Start fixing some Python 3 issues.

This patch fixes just the Python 3 problems found by running:

  python3 setup.py install

There are still many other issues to be fixed, but this is a start.

Signed-off-by: Terry Wilson <twilson@redhat.com>
[russell@ovn.org resolved conflicts with current master]
Signed-off-by: Russell Bryant <russell@ovn.org>
Acked-by: Ben Pfaff <blp@ovn.org>
This commit is contained in:
Terry Wilson
2015-07-29 21:12:45 -05:00
committed by Russell Bryant
parent ab2a3154f0
commit 3ab76c56d8
9 changed files with 49 additions and 46 deletions

View File

@@ -19,7 +19,7 @@ VERSION = "unknown"
try:
# Try to set the version from the generated ovs/version.py
execfile("ovs/version.py")
exec(open("ovs/version.py").read())
except IOError:
print("Ensure version.py is created by running make python/ovs/version.py",
file=sys.stderr)