From: Zac Medico Date: Mon, 23 Aug 2010 18:22:03 +0000 (-0700) Subject: In depgraph._select_pkg_highest_available_imp(), make sure X-Git-Tag: v2.2_rc69~23 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=6cbe3e85eb13a5eb72dcc9512de818db419f2afe;p=portage.git In depgraph._select_pkg_highest_available_imp(), make sure allow_unstable_keywords is True before adding a package to _needed_unstable_keywords. --- 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: