From: Zac Medico Date: Thu, 12 Jan 2012 16:59:40 +0000 (-0800) Subject: depgraph: account for unevaluated_atom in cache X-Git-Tag: v2.2.0_alpha85~35 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5438bb29c996d777b6343515995176912a7c137f;p=portage.git depgraph: account for unevaluated_atom in cache --- diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py index 19daa4eb8..0c9e5f2ad 100644 --- a/pym/_emerge/depgraph.py +++ b/pym/_emerge/depgraph.py @@ -3450,7 +3450,7 @@ class depgraph(object): yield pkg def _select_pkg_highest_available(self, root, atom, onlydeps=False): - cache_key = (root, atom, onlydeps) + cache_key = (root, atom, atom.unevaluated_atom, onlydeps) ret = self._dynamic_config._highest_pkg_cache.get(cache_key) if ret is not None: pkg, existing = ret