[ovs-dev] [PATCH] python: Fix Chinese characters UnicodeEncodeError exception

Ben Pfaff blp at ovn.org
Thu Mar 9 00:00:12 UTC 2017


On Mon, Feb 20, 2017 at 07:38:25PM +0800, Guoshuai Li wrote:
> The OVSDB client may send or recv Chinese characters.
> So we should use UTF-8 encoding data for send or recv by default.
> 
> Signed-off-by: Guoshuai Li <ligs at dtdream.com>

Thanks for the patch!

This fails to build with the following error:

../python/ovs/stream.py:388:80: E501 line too long (80 > 79 characters)

Would you mind adding a test?

Thanks,

Ben.


More information about the dev mailing list