From: Zac Medico Date: Sat, 18 Sep 2010 06:27:49 +0000 (-0700) Subject: Make depgraph._pkg_visibility_check() when --autounmask is not X-Git-Tag: v2.2_rc84~17 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=9f171d8de703c6336e409bd27d0e3c6ad9042540;p=portage.git Make depgraph._pkg_visibility_check() when --autounmask is not enabled. --- diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py index fe375b7bb..fcca14841 100644 --- a/pym/_emerge/depgraph.py +++ b/pym/_emerge/depgraph.py @@ -2558,6 +2558,9 @@ class depgraph(object): if pkg.visible: return True + if self._frozen_config.myopts.get('--autounmask', 'n') is not True: + return False + pkgsettings = self._frozen_config.pkgsettings[pkg.root] root_config = self._frozen_config.roots[pkg.root] mreasons = _get_masking_status(pkg, pkgsettings, root_config, use=self._pkg_use_enabled(pkg))