From 6b2f8a99f3cc00abad02bf569d86141cd9c86014 Mon Sep 17 00:00:00 2001 From: wangchuangGG Date: Thu, 12 Nov 2020 10:36:34 +0800 Subject: [PATCH] update src/utils/check_conf.py. --- src/utils/check_conf.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/utils/check_conf.py b/src/utils/check_conf.py index 4649ad5..3b65c80 100755 --- a/src/utils/check_conf.py +++ b/src/utils/check_conf.py @@ -105,6 +105,7 @@ class CheckConfig(object): Check diff file """ for name in self._need_check_file: + logging.info("config file:%s", name) name = name.split("/", 1)[-1].split()[0] logging.debug("path:%s", old_and_new_path) if self._md5_check(os.path.join(old_and_new_path[0], name), os.path.join(old_and_new_path[1], name)): @@ -162,6 +163,7 @@ class CheckConfig(object): logging.info("\n---Change infos write at:%s----", self._output_file) else: logging.info("\n---Configs are same----") + os.remove(self._output_file) ofile.close() def _get_rpms(self, rpm_url, dest): -- Gitee