[PATCH 3/3] pwclient: Fix Python 3 encoding of received strings

Stephen Finucane stephen at that.guru
Mon Dec 12 23:04:23 AEDT 2016


On Sat, 2016-12-10 at 02:32 +0100, Thomas Monjalon wrote:
> The conversion encode("utf-8") makes a byte stream which is
> poorly printed with Python 3.
> However this encoding is required for Popen.communicate() but must be
> done after str.join() which applies to a real string.
> 
> Signed-off-by: Thomas Monjalon <thomas.monjalon at 6wind.com>

Tested by both Sean and I.

Reviewed-by: Stephen Finucane <stephen at that.guru>


More information about the Patchwork mailing list