!49 [sync] PR-47: 更新热补丁状态判断条件
From: @openeuler-sync-bot Reviewed-by: @Lostwayzxc Signed-off-by: @Lostwayzxc
This commit is contained in:
commit
c4f5459da4
@ -29,7 +29,7 @@ index 8547abe..cfecb60 100644
|
|||||||
- return ""
|
- return ""
|
||||||
+ for hotpatch_info in [line for line in hotpatch_list_output.split(os.linesep) if line.startswith("CVE")]:
|
+ 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()
|
+ _, hot_pkg, status = hotpatch_info.strip().split()
|
||||||
+ if status == "ACTIVED":
|
+ if status in ("ACTIVED", "ACCEPTED"):
|
||||||
+ return hot_pkg
|
+ return hot_pkg
|
||||||
+ return None
|
+ return None
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user