From 66a007b62b77d18e28ca4fb3dc54fce19fd8bb36 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Mon, 4 Oct 2010 20:29:10 -0700 Subject: Add note about depgraph/portdbapi caching. --- pym/_emerge/depgraph.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'pym/_emerge/depgraph.py') diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py index ac23f4ba0..acca40eb0 100644 --- a/pym/_emerge/depgraph.py +++ b/pym/_emerge/depgraph.py @@ -2541,6 +2541,9 @@ class depgraph(object): # Make sure that cpv from the current repo satisfies the atom. # This might not be the case if there are several repos with # the same cpv, but different metadata keys, like SLOT. + # Also, for portdbapi, parts of the match that require + # metadata access are deferred until we have cached the + # metadata in a Package instance. if not atom_set.findAtomForPackage(pkg, modified_use=self._pkg_use_enabled(pkg)): continue -- cgit v1.2.3-1-g7c22