Skip to content

Commit

Permalink
cve-check: Don't use f-strings
Browse files Browse the repository at this point in the history
Since we're keeping cve-check aligned between the active branches,
and dunfell is supported on Python 3.5, we can't use f-strings.

Signed-off-by: Ernst Sjöstrand <ernstp@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
  • Loading branch information
ernstp authored and rpurdie committed Aug 14, 2022
1 parent a7411f5 commit 1821cf7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion meta/lib/oe/cve_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ def get_cpe_ids(cve_product, version):
else:
vendor = "*"

cpe_id = f'cpe:2.3:a:{vendor}:{product}:{version}:*:*:*:*:*:*:*'
cpe_id = 'cpe:2.3:a:{}:{}:{}:*:*:*:*:*:*:*'.format(vendor, product, version)
cpe_ids.append(cpe_id)

return cpe_ids
Expand Down

0 comments on commit 1821cf7

Please sign in to comment.