[Buildroot] [PATCH] utils/genrandconfig: fix runtime issue with Python 3

Peter Korsgaard peter at korsgaard.com
Fri Dec 6 08:53:18 UTC 2019


>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni at bootlin.com> writes:

 > With Python 3.7, genrandconfig fails with:
 > 'str' object has no attribute 'decode'

 > We are already working on str objects, and there is no need to decode
 > them, so we drop the call to decode_byte_list() and its definition as
 > it was only used there.

 > Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
 > Cc: Arnout Vandecappelle (Essensium/Mind) <arnout at mind.be>

Committed to 2019.02.x and 2019.08.x, thanks.

-- 
Bye, Peter Korsgaard


More information about the buildroot mailing list