summaryrefslogtreecommitdiffstats
path: root/pym
diff options
context:
space:
mode:
Diffstat (limited to 'pym')
-rw-r--r--pym/_emerge/depgraph.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py
index 2173d1031..a2c6a8c76 100644
--- a/pym/_emerge/depgraph.py
+++ b/pym/_emerge/depgraph.py
@@ -2402,7 +2402,8 @@ class depgraph(object):
not self._want_installed_pkg(pkg):
pkg = None
- if pkg is not None and not pkg.visible:
+ if pkg is not None and \
+ not pkg.visible and allow_unstable_keywords:
self._dynamic_config._needed_unstable_keywords.add(pkg)
if self._dynamic_config._need_restart: