diff options
author | Chris Laplante <chris.laplante@agilent.com> | 2020-09-14 11:33:20 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-10-06 14:15:21 +0100 |
commit | bd9cedf9253d09a0b7153dc8b23fbf7f99c7a16d (patch) | |
tree | bb56b1786f04dabe04360c1e971ce499f7fdcb6b /meta/recipes-core/meta/cve-update-db-native.bb | |
parent | 0ebe61887a094b86912322a5a52c4d8dc62c1e2f (diff) | |
download | poky-bd9cedf9253d09a0b7153dc8b23fbf7f99c7a16d.tar.gz |
cve-update-db-native: remove unused variable
(From OE-Core rev: e9d24bae963aae93a1ace55c681b2d7de4ea935d)
Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 790f8a5bfbd1851226fa5fc5b09e79f6396e747d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/meta/cve-update-db-native.bb')
-rw-r--r-- | meta/recipes-core/meta/cve-update-db-native.bb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/meta/recipes-core/meta/cve-update-db-native.bb b/meta/recipes-core/meta/cve-update-db-native.bb index 73da8ae6a2..0cd3a1c153 100644 --- a/meta/recipes-core/meta/cve-update-db-native.bb +++ b/meta/recipes-core/meta/cve-update-db-native.bb | |||
@@ -33,7 +33,6 @@ python do_populate_cve_db() { | |||
33 | 33 | ||
34 | db_file = d.getVar("CVE_CHECK_DB_FILE") | 34 | db_file = d.getVar("CVE_CHECK_DB_FILE") |
35 | db_dir = os.path.dirname(db_file) | 35 | db_dir = os.path.dirname(db_file) |
36 | json_tmpfile = os.path.join(db_dir, 'nvd.json.gz') | ||
37 | 36 | ||
38 | if os.path.exists("{0}-journal".format(db_file)): | 37 | if os.path.exists("{0}-journal".format(db_file)): |
39 | # If a journal is present the last update might have been interrupted. In that case, | 38 | # If a journal is present the last update might have been interrupted. In that case, |