projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Prepare for post-1.6.0 (1.6.90).
[openvswitch]
/
python
/
ovs
/
util.py
diff --git
a/python/ovs/util.py
b/python/ovs/util.py
index d218d3d076f2d0a4d60dd23e88d2163e84e5a2a3..036621a1b0481a2a043373ac9cabb4ef5ac59ed4 100644
(file)
--- a/
python/ovs/util.py
+++ b/
python/ovs/util.py
@@
-18,6
+18,7
@@
import sys
PROGRAM_NAME = os.path.basename(sys.argv[0])
+
def abs_file_name(dir_, file_name):
"""If 'file_name' starts with '/', returns a copy of 'file_name'.
Otherwise, returns an absolute path to 'file_name' considering it relative