diff options
author | Jan Vermaete <jan.vermaete@gmail.com> | 2023-04-12 12:19:26 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-04-14 16:44:24 +0100 |
commit | 378dddd7a34b7f9d108948eebc5cdde312e0436f (patch) | |
tree | 7c93e4f1ec4f63c6621bb9a31305a9bbc53ad072 /meta/recipes-core | |
parent | c9205c3bfd52e553b42ffe016e2d7c38a6899260 (diff) | |
download | poky-378dddd7a34b7f9d108948eebc5cdde312e0436f.tar.gz |
cve-update-nvd2-native: added the missing http import
(From OE-Core rev: 39d2cde7eb922cb0a2cf9402cd8b3ae3b4cc2f62)
Signed-off-by: Jan Vermaete <jan.vermaete@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core')
-rw-r--r-- | meta/recipes-core/meta/cve-update-nvd2-native.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-core/meta/cve-update-nvd2-native.bb b/meta/recipes-core/meta/cve-update-nvd2-native.bb index 1c14481c21..2b585983ac 100644 --- a/meta/recipes-core/meta/cve-update-nvd2-native.bb +++ b/meta/recipes-core/meta/cve-update-nvd2-native.bb | |||
@@ -118,6 +118,7 @@ def nvd_request_next(url, api_key, args): | |||
118 | import urllib.request | 118 | import urllib.request |
119 | import urllib.parse | 119 | import urllib.parse |
120 | import gzip | 120 | import gzip |
121 | import http | ||
121 | 122 | ||
122 | headers = {} | 123 | headers = {} |
123 | if api_key: | 124 | if api_key: |