diff options
author | Ernst Sjöstrand <ernstp@gmail.com> | 2022-08-12 08:05:06 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-08-14 08:11:14 +0100 |
commit | 1821cf7464cbba521b55a9c128fe8812c0cc5eca (patch) | |
tree | 675c4103fdbd66116c74d472561324fe9520e80b /meta/lib | |
parent | a7411f5964f2e8384768b0a5e67817b3adc0ae8c (diff) | |
download | openembedded-core-contrib-1821cf7464cbba521b55a9c128fe8812c0cc5eca.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.
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>
Diffstat (limited to 'meta/lib')
-rw-r--r-- | meta/lib/oe/cve_check.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oe/cve_check.py b/meta/lib/oe/cve_check.py index f3c4701ae2b..4f1d80f0507 100644 --- a/meta/lib/oe/cve_check.py +++ b/meta/lib/oe/cve_check.py @@ -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 |