summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-09-17 23:27:49 -0700
committerZac Medico <zmedico@gentoo.org>2010-09-17 23:27:49 -0700
commit9f171d8de703c6336e409bd27d0e3c6ad9042540 (patch)
treeede1fde4da3ac8b1a1e557aa1dfc625b00c8e196
parent78e267e9c476a4befc332559d09f5b68f411b771 (diff)
downloadportage-9f171d8de703c6336e409bd27d0e3c6ad9042540.tar.gz
portage-9f171d8de703c6336e409bd27d0e3c6ad9042540.tar.bz2
portage-9f171d8de703c6336e409bd27d0e3c6ad9042540.zip
Make depgraph._pkg_visibility_check() when --autounmask is not
enabled.
-rw-r--r--pym/_emerge/depgraph.py3
1 files changed, 3 insertions, 0 deletions
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))