summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-core/meta/cve-update-db-native.bb2
1 files changed, 1 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 ae8f1a958b..d60159bc2a 100644
--- a/meta/recipes-core/meta/cve-update-db-native.bb
+++ b/meta/recipes-core/meta/cve-update-db-native.bb
@@ -57,7 +57,7 @@ python do_populate_cve_db() {
57 break 57 break
58 58
59 # Compare with current db last modified date 59 # Compare with current db last modified date
60 c.execute("select DATE from META where YEAR = '%d'" % year) 60 c.execute("select DATE from META where YEAR = ?", (year,))
61 meta = c.fetchone() 61 meta = c.fetchone()
62 if not meta or meta[0] != last_modified: 62 if not meta or meta[0] != last_modified:
63 # Update db with current year json file 63 # Update db with current year json file