summaryrefslogtreecommitdiffstats
path: root/meta/lib
diff options
context:
space:
mode:
authorErnst Sjöstrand <ernstp@gmail.com>2022-08-12 08:05:06 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-08-28 07:51:29 +0100
commit6413ed11f83ea46a6fbe9f4a6a5fc5df02706c9f (patch)
tree47a09689713beedb13b5d0e5d95b3274d94ef194 /meta/lib
parentaa1c8a2b701a27efc30af3ddfb08a27bd47993fd (diff)
downloadpoky-6413ed11f83ea46a6fbe9f4a6a5fc5df02706c9f.tar.gz
cve-check: Don't use f-strings
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. (From OE-Core rev: 057a6f826bd45ebf240df47f0baf7c8027f5711c) 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> (cherry picked from commit 1821cf7464cbba521b55a9c128fe8812c0cc5eca) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib')
-rw-r--r--meta/lib/oe/cve_check.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oe/cve_check.py b/meta/lib/oe/cve_check.py
index aa06497727..f40f16d7ab 100644
--- a/meta/lib/oe/cve_check.py
+++ b/meta/lib/oe/cve_check.py
@@ -143,7 +143,7 @@ def get_cpe_ids(cve_product, version):
143 else: 143 else:
144 vendor = "*" 144 vendor = "*"
145 145
146 cpe_id = f'cpe:2.3:a:{vendor}:{product}:{version}:*:*:*:*:*:*:*' 146 cpe_id = 'cpe:2.3:a:{}:{}:{}:*:*:*:*:*:*:*'.format(vendor, product, version)
147 cpe_ids.append(cpe_id) 147 cpe_ids.append(cpe_id)
148 148
149 return cpe_ids 149 return cpe_ids