diff options
author | Jan Vermaete <jan.vermaete@gmail.com> | 2023-04-12 12:19:26 +0200 |
---|---|---|
committer | Steve Sakoman <steve@sakoman.com> | 2023-06-21 04:00:58 -1000 |
commit | c4c9531c9b1c379184b01bd87e5df6ae6235dcc4 (patch) | |
tree | 57c57e0c5d0cbe3b32d40f3b77b76ffec4b7f419 | |
parent | 075d712b289d1749c3199bc2604164b285371629 (diff) | |
download | poky-c4c9531c9b1c379184b01bd87e5df6ae6235dcc4.tar.gz |
cve-update-nvd2-native: added the missing http import
(From OE-Core rev: c7e1611ab0e72e18d3e41cfb8eaa157dab4d97ad)
Signed-off-by: Jan Vermaete <jan.vermaete@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
(cherry picked from commit 39d2cde7eb922cb0a2cf9402cd8b3ae3b4cc2f62)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
-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: |