depgraph: account for unevaluated_atom in cache
authorZac Medico <zmedico@gentoo.org>
Thu, 12 Jan 2012 16:59:40 +0000 (08:59 -0800)
committerZac Medico <zmedico@gentoo.org>
Thu, 12 Jan 2012 16:59:40 +0000 (08:59 -0800)
pym/_emerge/depgraph.py

index 19daa4eb86843c58972786c2f73a86d378007eda..0c9e5f2ad8421a8faa7a836b4e8e0b9a256e87f7 100644 (file)
@@ -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