[ovs-dev] [PATCH] windows,python: remove dead code in send_wait

Alin Balutoiu abalutoiu at cloudbasesolutions.com
Fri Aug 25 15:02:54 UTC 2017


Found while looking over the code.

Signed-off-by: Alin Balutoiu <abalutoiu at cloudbasesolutions.com>
Suggested-by: Alin Gabriel Serdean <aserdean at ovn.org>
---
 python/ovs/stream.py | 2 --
 1 file changed, 2 deletions(-)

diff --git a/python/ovs/stream.py b/python/ovs/stream.py
index 717ea18..d4c1edb 100644
--- a/python/ovs/stream.py
+++ b/python/ovs/stream.py
@@ -494,8 +494,6 @@ class Stream(object):
         self.wait(poller, Stream.W_RECV)
 
     def send_wait(self, poller):
-        if sys.platform == 'win32':
-            poller.fd_wait(self.connect.hEvent, ovs.poller.POLLIN)
         self.wait(poller, Stream.W_SEND)
 
     def __del__(self):
-- 
2.10.0.windows.1


More information about the dev mailing list