diff options
| author | Jan Vermaete <jan.vermaete@gmail.com> | 2023-04-12 12:19:26 +0200 |
|---|---|---|
| committer | Steve Sakoman <steve@sakoman.com> | 2023-06-27 05:24:36 -1000 |
| commit | ff22728dd557b20eff8186f61cf28f2ac1b27d40 (patch) | |
| tree | 35a014cc7d8a284123669673a6fbeb99b3ed7ffe | |
| parent | af419f2429cfa01071645af0fb1717da6644ddbe (diff) | |
| download | poky-ff22728dd557b20eff8186f61cf28f2ac1b27d40.tar.gz | |
cve-update-nvd2-native: added the missing http import
(From OE-Core rev: 787acb1cbc22c0f3bd0cc163c527cc7a98007f26)
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: |
