删除错误提交

This commit is contained in:
wangsong 2021-10-21 15:28:06 +08:00
parent 10072c2545
commit 1a6826249c
2 changed files with 1 additions and 4 deletions

View File

@ -377,9 +377,6 @@ class UpdateList():
#查找所有可升级的包 #查找所有可升级的包
for pkg in cache: for pkg in cache:
try: try:
if pkg.name == 'kylin-burner-i18n':
print("ds")
if pkg.is_upgradable and pkg.is_installed: if pkg.is_upgradable and pkg.is_installed:
if getattr(pkg.candidate, "origins", None) is None: if getattr(pkg.candidate, "origins", None) is None:
logging.error("WARNING: upgradable but no candidate.origins?!?: ", logging.error("WARNING: upgradable but no candidate.origins?!?: ",

View File

@ -20,7 +20,7 @@ from .Core.loop import mainloop
import time import time
from gettext import gettext as _ from gettext import gettext as _
from SystemUpdater.backend import DownloadBackend as downb 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" REBOOT_REQUIRED_FILE = "/var/run/reboot-required"