From: Zac Medico Date: Wed, 6 Dec 2006 19:27:04 +0000 (-0000) Subject: Implement fakedbapi.aux_update(). X-Git-Tag: v2.1.2~395 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=2dfc6c49d2bbe4a075657e7ca7053660051a360b;p=portage.git Implement fakedbapi.aux_update(). svn path=/main/trunk/; revision=5178 --- diff --git a/pym/portage.py b/pym/portage.py index 5b0e9fb35..1e4936788 100644 --- a/pym/portage.py +++ b/pym/portage.py @@ -4415,6 +4415,9 @@ class fakedbapi(dbapi): return ["" for x in wants] return [metadata.get(x, "") for x in wants] + def aux_update(self, cpv, values): + self.cpvdict[cpv].update(values) + class bindbapi(fakedbapi): def __init__(self, mybintree=None, settings=None): self.bintree = mybintree