[ovs-dev] [PATCH 2/2] windows,python: remove unnecessary code
aserdean at ovn.org
aserdean at ovn.org
Tue Aug 29 07:58:57 UTC 2017
Acked-by: Alin Gabriel Serdean <aserdean at ovn.org>
> -----Original Message-----
> From: ovs-dev-bounces at openvswitch.org [mailto:ovs-dev-
> bounces at openvswitch.org] On Behalf Of Alin Balutoiu
> Sent: Friday, August 25, 2017 6:03 PM
> To: dev at 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 <abalutoiu at cloudbasesolutions.com>
> ---
> python/ovs/stream.py | 41 ++++++++++++++++++-----------------------
> 1 file changed, 18 insertions(+), 23 deletions(-)
>
More information about the dev
mailing list