In depgraph._dep_check_composite_db._visible(), wrap installed package
authorZac Medico <zmedico@gentoo.org>
Wed, 8 Sep 2010 17:14:36 +0000 (10:14 -0700)
committerZac Medico <zmedico@gentoo.org>
Wed, 8 Sep 2010 17:14:36 +0000 (10:14 -0700)
visiblity checks with self._pkg_visibility_check().

pym/_emerge/depgraph.py

index a87119dd871c549a478950eb5067824f4b71e69d..6bc1b99f0216e31b78933c847496235960d653d3 100644 (file)
@@ -5799,7 +5799,7 @@ class _dep_check_composite_db(dbapi):
                                arg = None
                        if arg:
                                return False
-               if pkg.installed and not pkg.visible:
+               if pkg.installed and not self._pkg_visibility_check(pkg):
                        return False
                in_graph = self._depgraph._dynamic_config._slot_pkg_map[
                        self._root].get(pkg.slot_atom)