projects
/
cascardo
/
ovs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
python: Don't compare None and int.
[cascardo/ovs.git]
/
python
/
setup.py
diff --git
a/python/setup.py
b/python/setup.py
index
889d215
..
62507ad
100644
(file)
--- a/
python/setup.py
+++ b/
python/setup.py
@@
-19,7
+19,7
@@
VERSION = "unknown"
try:
# Try to set the version from the generated ovs/version.py
- exec
file("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)