aops-apollo/0004-better-hotupgrade-command-output.patch
2023-03-27 23:50:01 +08:00

26 lines
888 B
Diff

From a1ccf84bf28323ce613e0c1d1819c31d0d6cd13b Mon Sep 17 00:00:00 2001
From: zhu-yuncheng <zhuyuncheng@huawei.com>
Date: Mon, 27 Mar 2023 23:45:18 +0800
Subject: [PATCH] better hotupgrade command output
---
hotpatch/hot-upgrade.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hotpatch/hot-upgrade.py b/hotpatch/hot-upgrade.py
index 7a4c3c6..06f32ad 100644
--- a/hotpatch/hot-upgrade.py
+++ b/hotpatch/hot-upgrade.py
@@ -253,7 +253,7 @@ class HotupgradeCommand(dnf.cli.Command):
cve_hp_dict = updateinfo.get_hotpatches_from_cve(cves)
for cve, hp in cve_hp_dict.items():
if not hp:
- logger.info(_("The cve doesn't exist: %s"), cve)
+ logger.info(_("The cve's hot patch doesn't exist: %s"), cve)
continue
hp_list += hp
return list(set(hp_list))
--
2.30.0