diff options
author | Zac Medico <zmedico@gentoo.org> | 2010-10-04 20:29:10 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2010-10-04 20:29:10 -0700 |
commit | 66a007b62b77d18e28ca4fb3dc54fce19fd8bb36 (patch) | |
tree | be5fb8cf02e7202986648e0f66a2c7547787ea66 | |
parent | 49f405428fe1d86061c41aad16d5c413170b1ca6 (diff) | |
download | portage-66a007b62b77d18e28ca4fb3dc54fce19fd8bb36.tar.gz portage-66a007b62b77d18e28ca4fb3dc54fce19fd8bb36.tar.bz2 portage-66a007b62b77d18e28ca4fb3dc54fce19fd8bb36.zip |
Add note about depgraph/portdbapi caching.
-rw-r--r-- | pym/_emerge/depgraph.py | 3 |
1 files changed, 3 insertions, 0 deletions
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 |