projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
49f4054
)
Add note about depgraph/portdbapi caching.
author
Zac Medico
<zmedico@gentoo.org>
Tue, 5 Oct 2010 03:29:10 +0000
(20:29 -0700)
committer
Zac Medico
<zmedico@gentoo.org>
Tue, 5 Oct 2010 03:29:10 +0000
(20:29 -0700)
pym/_emerge/depgraph.py
patch
|
blob
|
history
diff --git
a/pym/_emerge/depgraph.py
b/pym/_emerge/depgraph.py
index ac23f4ba09af17894ac4afa9e352e9b61e69763a..acca40eb0f6744c48a9c6bda5f21a1310f55770a 100644
(file)
--- 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