From b6bb02c51454f8d00efca5b2bfcd1d73e67e5c7c Mon Sep 17 00:00:00 2001 From: rabbitali Date: Fri, 30 Jun 2023 20:50:12 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0patch0005?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit (cherry picked from commit 78d1706c42522f68f4c15d3be35a216a9a417d00) --- 0005-match-correctly-applied-hotpatchs.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/0005-match-correctly-applied-hotpatchs.patch b/0005-match-correctly-applied-hotpatchs.patch index adb6d31..e032d38 100644 --- a/0005-match-correctly-applied-hotpatchs.patch +++ b/0005-match-correctly-applied-hotpatchs.patch @@ -29,7 +29,7 @@ index 8547abe..cfecb60 100644 - return "" + for hotpatch_info in [line for line in hotpatch_list_output.split(os.linesep) if line.startswith("CVE")]: + _, hot_pkg, status = hotpatch_info.strip().split() -+ if status == "ACTIVED": ++ if status in ("ACTIVED", "ACCEPTED"): + return hot_pkg + return None