X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=python%2Fovs%2Fstream.py;h=9c10612d920b32c74482d8daeb6eae4922edbffa;hb=c3bf549800cecfa0c5fbd669139f441b7dd5d237;hp=82ea0c126c51ba462dd7f70b7f20a8ab2574e2db;hpb=e0edde6fee279cdbbf3c179f5f50adaf0c7c7f1e;p=sliver-openvswitch.git diff --git a/python/ovs/stream.py b/python/ovs/stream.py index 82ea0c126..9c10612d9 100644 --- a/python/ovs/stream.py +++ b/python/ovs/stream.py @@ -26,7 +26,7 @@ vlog = ovs.vlog.Vlog("stream") def stream_or_pstream_needs_probes(name): """ 1 if the stream or pstream specified by 'name' needs periodic probes to - verify connectivty. For [p]streams which need probes, it can take a long + verify connectivity. For [p]streams which need probes, it can take a long time to notice the connection was dropped. Returns 0 if probes aren't needed, and -1 if 'name' is invalid""" @@ -113,7 +113,7 @@ class Stream(object): break stream.run() poller = ovs.poller.Poller() - stream.run_wait() + stream.run_wait(poller) stream.connect_wait(poller) poller.block() assert error != errno.EINPROGRESS