修改bug,调整单包的优先级
This commit is contained in:
parent
eb433f4383
commit
e642f6ba22
|
@ -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)
|
||||
|
||||
#判断当前是否可升级或者新装的包
|
||||
|
|
Loading…
Reference in New Issue