From a4f2cf7e86ec5637e1087f9b9bd8de3fc7f55feb Mon Sep 17 00:00:00 2001 From: Caohongtao Date: Fri, 23 Aug 2024 08:05:57 +0000 Subject: [PATCH] =?UTF-8?q?update=20uos-sysmig/sysmig=5Fagent/Abisystmcomp?= =?UTF-8?q?chk.py.=20=E6=96=87=E4=BB=B6=E8=B7=AF=E5=BE=84=E4=B8=8D?= =?UTF-8?q?=E5=AD=98=E5=9C=A8[exist]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Caohongtao --- uos-sysmig/sysmig_agent/Abisystmcompchk.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/uos-sysmig/sysmig_agent/Abisystmcompchk.py b/uos-sysmig/sysmig_agent/Abisystmcompchk.py index 7e136a4..f7d85f9 100644 --- a/uos-sysmig/sysmig_agent/Abisystmcompchk.py +++ b/uos-sysmig/sysmig_agent/Abisystmcompchk.py @@ -166,7 +166,7 @@ def logger_init(): # Check whether it is an ELF file def is_ELFfile(filepath, logger): if not os.path.exists(filepath): - logger.info('file not exit:' + filepath) + logger.info('file not exist:' + filepath) return False try: FileStates = os.stat(filepath) @@ -277,7 +277,7 @@ def get_system_pkg_name(flag, mig_logger): mig_logger.info('migrate behind not exit verison id !!!') fbhe.close() else: - mig_logger.info('file not exit:' + migration_before_uelc20_rpm) + mig_logger.info('file not exist:' + migration_before_uelc20_rpm) mig_logger.info('Please do migration before system compation check !!!') return False return True -- Gitee