From 6cbe3e85eb13a5eb72dcc9512de818db419f2afe Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Mon, 23 Aug 2010 11:22:03 -0700 Subject: [PATCH] In depgraph._select_pkg_highest_available_imp(), make sure allow_unstable_keywords is True before adding a package to _needed_unstable_keywords. --- pym/_emerge/depgraph.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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: -- 2.26.2