修改log日志

This commit is contained in:
wangsong 2021-12-09 16:03:16 +08:00
parent c4af2587b8
commit b186f2599d
1 changed files with 1 additions and 2 deletions

View File

@ -394,8 +394,6 @@ class UpdateManager():
"var/run/reboot-required"))
def _check_cache_broken(self,cache):
logging.info("Check: System Apt Cache for Broken...")
with cache.actiongroup():
if cache.get_changes():
cache.clear()
@ -406,6 +404,7 @@ class UpdateManager():
#获取那些依赖关系不满足导致的问题
logging.info(get_broken_details(cache))
else:
logging.info("Check: System Apt Cache for Broken Successfully...")
return
try: