]> 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>
Wed, 2 Aug 2023 17:39:36 +0000 (07:39 -1000)
commite67d659847afe648de1b1eca2d19c4f6375dd12c
tree9718e99ea3fcd06995592d7774fc1edf5f822d30
parent6d892c52bd5806507a05e8b6f749c54bbd9e9da6
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