]> git.proxmox.com Git - ovs.git/commit
windows, python: Remove code duplication in send/recv functions
authorAlin Balutoiu <abalutoiu@cloudbasesolutions.com>
Tue, 22 Aug 2017 10:47:24 +0000 (10:47 +0000)
committerAlin Gabriel Serdean <aserdean@ovn.org>
Wed, 23 Aug 2017 15:42:09 +0000 (18:42 +0300)
commit37d69bd5d8f39f85152eaedb5dbc9c6c6beec9ea
tree8c32095fa488625358ec80bbc28503a735570e4e
parente272107e5a52f38bbf6c93acef2d892a6bc13b1f
windows, python: Remove code duplication in send/recv functions

Move the return value at the end of the function
regardless of the pending/non-pending operation.

Signed-off-by: Alin Balutoiu <abalutoiu@cloudbasesolutions.com>
Acked-by: Russell Bryant <russell@ovn.org>
Acked-by: Alin Gabriel Serdean <aserdean@ovn.org>
Signed-off-by: Alin Gabriel Serdean <aserdean@ovn.org>
python/ovs/stream.py