projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
nicira-ext: Support masking of nd_target field
[openvswitch]
/
python
/
ovs
/
socket_util.py
diff --git
a/python/ovs/socket_util.py
b/python/ovs/socket_util.py
index 0a26c5de6164bf6fa68443412b86c9b43a3f23d2..d00d3989b699c07f791417c61f9e7245942f6133 100644
(file)
--- a/
python/ovs/socket_util.py
+++ b/
python/ovs/socket_util.py
@@
-70,11
+70,7
@@
def make_unix_socket(style, nonblock, bind_path, connect_path):
except socket.error, e:
sock.close()
if bind_path is not None:
except socket.error, e:
sock.close()
if bind_path is not None:
- try:
- os.unlink(bind_path)
- except OSError, e:
- pass
- ovs.fatal_signal.add_file_to_unlink(bind_path)
+ ovs.fatal_signal.unlink_file_now(bind_path)
return get_exception_errno(e), None
return get_exception_errno(e), None