Use _pkg_visibility_check in _loadResumeCommand.
authorZac Medico <zmedico@gentoo.org>
Fri, 1 Oct 2010 14:42:02 +0000 (07:42 -0700)
committerZac Medico <zmedico@gentoo.org>
Fri, 1 Oct 2010 14:42:02 +0000 (07:42 -0700)
pym/_emerge/depgraph.py

index c91188e01cd3fd8ba896aa56a36897993c0226b4..045e5718476f78dc98c88bec53c40923bcb1da1c 100644 (file)
@@ -5024,7 +5024,7 @@ class depgraph(object):
 
                        pkg = None
                        for pkg in self._iter_match_pkgs(root_config, pkg_type, atom):
-                               if not pkg.visible or \
+                               if not self._pkg_visibility_check(pkg) or \
                                        self._frozen_config.excluded_pkgs.findAtomForPackage(pkg,
                                                modified_use=self._pkg_use_enabled(pkg)):
                                        continue