diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-core/meta/cve-update-db-native.bb | 2 |
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 e16c41a72f..72d1f48835 100644 --- a/meta/recipes-core/meta/cve-update-db-native.bb +++ b/meta/recipes-core/meta/cve-update-db-native.bb | |||
@@ -62,7 +62,7 @@ python do_populate_cve_db() { | |||
62 | break | 62 | break |
63 | 63 | ||
64 | # Compare with current db last modified date | 64 | # Compare with current db last modified date |
65 | c.execute("select DATE from META where YEAR = '%d'" % year) | 65 | c.execute("select DATE from META where YEAR = ?", (year,)) |
66 | meta = c.fetchone() | 66 | meta = c.fetchone() |
67 | if not meta or meta[0] != last_modified: | 67 | if not meta or meta[0] != last_modified: |
68 | # Update db with current year json file | 68 | # Update db with current year json file |