diff options
author | Zac Medico <zmedico@gentoo.org> | 2009-03-31 05:50:15 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2009-03-31 05:50:15 +0000 |
commit | 40ccd9c85f187078d6e0f69ab664853ead31ba3d (patch) | |
tree | 1d44d06886f0b0b34f64f751dc60fee6c28d4e45 /pym/portage | |
parent | 8e10426aad390c88b3683b374199a20b48cdce9e (diff) | |
download | portage-40ccd9c85f187078d6e0f69ab664853ead31ba3d.tar.gz portage-40ccd9c85f187078d6e0f69ab664853ead31ba3d.tar.bz2 portage-40ccd9c85f187078d6e0f69ab664853ead31ba3d.zip |
Add a "consumer" keyword parameter to the MetadataRegen constructor which
can be used to pass in a callback that is called for each ebuild that is
processed (allowing access to the ebuild metadata).
svn path=/main/trunk/; revision=13256
Diffstat (limited to 'pym/portage')
-rw-r--r-- | pym/portage/dbapi/porttree.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pym/portage/dbapi/porttree.py b/pym/portage/dbapi/porttree.py index c94a2965d..9d4b1523d 100644 --- a/pym/portage/dbapi/porttree.py +++ b/pym/portage/dbapi/porttree.py @@ -349,6 +349,7 @@ class portdbapi(dbapi): metadata["EAPI"] = "-" + eapi.lstrip("-") self.auxdb[repo_path][cpv] = metadata + return metadata def _pull_valid_cache(self, cpv, ebuild_path, repo_path): |