Re: [PATCH] scripts/gdb: decode bytestream on dmesg for Python3

2016-05-05 Thread Dom Cote
Looks good, b'' marker doesn't appear anymore. Tested for python 2.7 and 3.4 Acked-by: Dom Cote Tested-by: Dom Cote Regards On Wed, May 4, 2016 at 8:37 AM, Kieran Bingham wrote: > The recent fixes to lx-dmesg, now allow the command to print > successfully on Python3, however the python inter

[PATCH] scripts/gdb: decode bytestream on dmesg for Python3

2016-05-04 Thread Kieran Bingham
The recent fixes to lx-dmesg, now allow the command to print successfully on Python3, however the python interpreter wraps the bytes for each line with a b'' marker. To remove this, we need to decode the line, where .decode() will default to 'UTF-8' Signed-off-by: Kieran Bingham --- scripts/gdb