forked from cromer/pamac-classic
fix a bug
This commit is contained in:
parent
35adad6fe6
commit
991f0a27c0
@ -225,10 +225,11 @@ class PamacDBusService(dbus.service.Object):
|
|||||||
for pkg in pkg_list:
|
for pkg in pkg_list:
|
||||||
if not pkg.name in _ignorepkgs:
|
if not pkg.name in _ignorepkgs:
|
||||||
_ignorepkgs.append(pkg.name)
|
_ignorepkgs.append(pkg.name)
|
||||||
for pkgname in self.handle.ignorepkgs:
|
for name in self.handle.ignorepkgs:
|
||||||
if pkgname in localpkgs.keys():
|
pkg = self.handle.get_localdb().get_pkg(name)
|
||||||
if not pkgname in _ignorepkgs:
|
if pkg:
|
||||||
_ignorepkgs.append(pkgname)
|
if not pkg.name in _ignorepkgs:
|
||||||
|
_ignorepkgs.append(pkg.name)
|
||||||
if config.syncfirst:
|
if config.syncfirst:
|
||||||
for name in config.syncfirst:
|
for name in config.syncfirst:
|
||||||
pkg = self.handle.get_localdb().get_pkg(name)
|
pkg = self.handle.get_localdb().get_pkg(name)
|
||||||
|
Loading…
Reference in New Issue
Block a user