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:
committed by
Russell Bryant
parent
ab2a3154f0
commit
3ab76c56d8
@@ -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)
|
||||
|
Reference in New Issue
Block a user