修改bug,调整单包的优先级

This commit is contained in:
wangsong 2021-11-22 10:59:23 +08:00
parent eb433f4383
commit e642f6ba22
1 changed files with 2 additions and 2 deletions

View File

@ -325,8 +325,8 @@ class UpdateList():
new_install_list,new_upgrade_list = self._make_fiter_origin([cache[pkg] for pkg in new_install_list + new_upgrade_list],False)
#单包的优先级最高 从组中剔除此包
for pkg in new_install_list:
if pkg in self.local_upgrade_data.single_pkgs:
for pkg in self.local_upgrade_data.single_pkgs:
if pkg in new_install_list:
new_install_list.remove(pkg)
#判断当前是否可升级或者新装的包