cve-check: fix return type in check_cves
PATCH 1/1 cve-check: fix return type in check_cves
Make empty return types in check_cvs the same for all code paths.
Signed-off-by Marta Rybczynska <[email protected]>
--- meta/classes/cve-check.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/classes/cve-check.bbclass +1 -1
@@ -269,7 +269,7 @@ def check_cves(d, patched_cves): products = d.getVar("CVE_PRODUCT").split() # If this has been unset then we're not scanning for CVEs here (for example, image recipes) if not products: - return ([], [], [], {}) + return ([], [], [], []) pv = d.getVar("CVE_VERSION").split("+git")[0] # If the recipe has been skipped/ignored we return empty lists
Signature · 1 line
2.33.0