summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Laplante <chris.laplante@agilent.com>2020-09-14 11:33:20 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-09-15 11:53:28 +0100
commita91c7901d097da424431d66d5a5100bb1020b374 (patch)
tree580e99c5b8bc778493f71614e7fec0c72b95998f
parentdfbfc11a7aad21355fcf004aa07de3e5a5806363 (diff)
downloadpoky-a91c7901d097da424431d66d5a5100bb1020b374.tar.gz
cve-update-db-native: remove unused variable
(From OE-Core rev: 790f8a5bfbd1851226fa5fc5b09e79f6396e747d) Signed-off-by: Chris Laplante <chris.laplante@agilent.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-core/meta/cve-update-db-native.bb1
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 242fbc2f30..cf2b251e21 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_fetch() {
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,