diff --git a/SystemUpdater/Core/UpdateList.py b/SystemUpdater/Core/UpdateList.py index 6d55601..e8edf22 100644 --- a/SystemUpdater/Core/UpdateList.py +++ b/SystemUpdater/Core/UpdateList.py @@ -377,9 +377,6 @@ class UpdateList(): #查找所有可升级的包 for pkg in cache: try: - if pkg.name == 'kylin-burner-i18n': - print("ds") - if pkg.is_upgradable and pkg.is_installed: if getattr(pkg.candidate, "origins", None) is None: logging.error("WARNING: upgradable but no candidate.origins?!?: ", diff --git a/SystemUpdater/UpdateManager.py b/SystemUpdater/UpdateManager.py index 711ef0d..bb39c9b 100644 --- a/SystemUpdater/UpdateManager.py +++ b/SystemUpdater/UpdateManager.py @@ -20,7 +20,7 @@ from .Core.loop import mainloop import time from gettext import gettext as _ from SystemUpdater.backend import DownloadBackend as downb -from SystemUpdater.Core.Database import MODE_UPGRADE_PARTIAL,MODE_UPGRADE_ALL,MODE_UPGRADE_SYSTEM,MODE_UPGRADE_SINGLE +from SystemUpdater.Core.Database import MODE_UPGRADE_SINGLE #安装完成之后是否有请求需要重启 REBOOT_REQUIRED_FILE = "/var/run/reboot-required"