删除错误提交
This commit is contained in:
parent
10072c2545
commit
1a6826249c
|
@ -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?!?: ",
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue