From 8d3aaeb718fcdd7d55a7739c19d483d877a71294 Mon Sep 17 00:00:00 2001 From: Roxana Nicolescu Date: Mon, 11 May 2026 14:55:28 +0200 Subject: [PATCH] kt/ktlib/ciq_helpers.py: Use Optional[str] instead of str | None type Compatible with python < 3.10 Signed-off-by: Roxana Nicolescu --- kt/ktlib/ciq_helpers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kt/ktlib/ciq_helpers.py b/kt/ktlib/ciq_helpers.py index 16e7376..8791770 100644 --- a/kt/ktlib/ciq_helpers.py +++ b/kt/ktlib/ciq_helpers.py @@ -512,7 +512,7 @@ def CIQ_check_if_published_cve(vulns_repo, cve_id): return True -def CIQ_find_matching_cve(vulns_repo, kernel_repo, hash_) -> str | None: +def CIQ_find_matching_cve(vulns_repo, kernel_repo, hash_) -> Optional[str]: """ Returns the CVE (i.e CVE-2023-526) if there is a corresponding CVE to that commit hash and the CVE is published, not rejected.