]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
cve-update-nvd2-native: always pass str for json.loads()
authorYuta Hayama <hayama@lineo.co.jp>
Thu, 27 Jul 2023 08:56:26 +0000 (17:56 +0900)
committerSteve Sakoman <steve@sakoman.com>
Sat, 12 Aug 2023 15:38:11 +0000 (05:38 -1000)
commit4efdf7a93254056b9ac47de470740ac113b031f2
treed4afd10af7918d0198ee4a0559715172ba650304
parent1632c7223b2f8cd595e1ba20bc006c68fc833295
cve-update-nvd2-native: always pass str for json.loads()

Currently json.loads() accepts one of the types str, bytes, or bytearray
as an argument, but bytes and bytearrays have only been allowed since
python 3.6. The version of Python3 provided by default on Ubuntu 16.04
and Debian 9.x is 3.5, so make raw_data type str to work correctly on
these build hosts.

Signed-off-by: Yuta Hayama <hayama@lineo.co.jp>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/recipes-core/meta/cve-update-nvd2-native.bb