From 3fb47632e1b7595893e884beba35f93e5f62f56a Mon Sep 17 00:00:00 2001 From: Caohongtao Date: Thu, 8 Aug 2024 06:01:25 +0000 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E6=9C=AA=E5=AE=9A=E4=B9=89?= =?UTF-8?q?=E5=8F=98=E9=87=8F=EF=BC=8C=E5=AE=9E=E7=8E=B0=E6=A0=BC=E5=BC=8F?= =?UTF-8?q?=E5=AF=B9=E9=BD=90=E5=92=8C=E5=BF=AB=E9=80=9F=E8=BF=94=E5=9B=9E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Caohongtao --- uos-sysmig/mig_merge/new_expansion/special_pkg.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/uos-sysmig/mig_merge/new_expansion/special_pkg.py b/uos-sysmig/mig_merge/new_expansion/special_pkg.py index 3a1099b..5e8210f 100644 --- a/uos-sysmig/mig_merge/new_expansion/special_pkg.py +++ b/uos-sysmig/mig_merge/new_expansion/special_pkg.py @@ -49,8 +49,7 @@ def judge_rpmpkg_exitrepo(rpm_name): _, data_list, _ = run_cmd(cmd) for data in data_list: if repo_rpmpkg in data: - time_num += 1 - return True + return True return False def judge_bin_ynrepo(bin_name): -- Gitee