python: Call 'wait' methods correctly in jsonrpc and stream code.
[openvswitch] / python / ovs / jsonrpc.py
index cf08131327b77bd316e6cb462f90f8beb6581ce7..a054401b2783f30140170cba2902cceebe9a410a 100644 (file)
@@ -210,7 +210,7 @@ class Connection(object):
         if not self.status:
             self.stream.run_wait(poller)
             if len(self.output):
-                self.stream.send_wait()
+                self.stream.send_wait(poller)
 
     def get_status(self):
         return self.status