projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
don't use select.POLL* constants
[openvswitch]
/
python
/
ovs
/
socket_util.py
diff --git
a/python/ovs/socket_util.py
b/python/ovs/socket_util.py
index dd45fe4b92520561442d990ffdbe55f3ec2d5623..1fc80fd3a1add02446f26e3d5153e3b45fd855e4 100644
(file)
--- a/
python/ovs/socket_util.py
+++ b/
python/ovs/socket_util.py
@@
-77,7
+77,7
@@
def make_unix_socket(style, nonblock, bind_path, connect_path):
def check_connection_completion(sock):
p = ovs.poller.SelectPoll()
- p.register(sock,
select
.POLLOUT)
+ p.register(sock,
ovs.poller
.POLLOUT)
if len(p.poll(0)) == 1:
return get_socket_error(sock)
else: