Acked-by: Alin Gabriel Serdean <aserd...@ovn.org>
> -----Original Message----- > From: ovs-dev-boun...@openvswitch.org [mailto:ovs-dev- > boun...@openvswitch.org] On Behalf Of Alin Balutoiu > Sent: Friday, August 25, 2017 6:03 PM > To: d...@openvswitch.org > Subject: [ovs-dev] [PATCH 2/2] windows,python: remove unnecessary code > > At the moment we have WSAEventSelect in each if branch. > > Since the call to the function is similar, we can move it outside the if branch > and create some local variables which will be passed to WSAEventSelect. > > This patch also remove the keyword argument passed when the event for > the connection overlapped structure is created. > The argument is not needed since it does not change the value from the > default one. > > Signed-off-by: Alin Balutoiu <abalut...@cloudbasesolutions.com> > --- > python/ovs/stream.py | 41 ++++++++++++++++++----------------------- > 1 file changed, 18 insertions(+), 23 deletions(-) > _______________________________________________ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev