utils/genrandconfig: fix runtime issue with Python 3
authorThomas Petazzoni <thomas.petazzoni@bootlin.com>
Tue, 3 Dec 2019 16:51:37 +0000 (17:51 +0100)
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Tue, 3 Dec 2019 22:00:01 +0000 (23:00 +0100)
commit5cfe5d789796919d815c5707928bd5f4febad3bf
treecfff7a0aba5e786c3f7f98ad1855cd79665566cf
parent99767380edd34ccb560922707d41ec844c3b649f
utils/genrandconfig: fix runtime issue with Python 3

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@bootlin.com>
Cc: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
utils/genrandconfig