Implement fakedbapi.aux_update().
authorZac Medico <zmedico@gentoo.org>
Wed, 6 Dec 2006 19:27:04 +0000 (19:27 -0000)
committerZac Medico <zmedico@gentoo.org>
Wed, 6 Dec 2006 19:27:04 +0000 (19:27 -0000)
svn path=/main/trunk/; revision=5178

pym/portage.py

index 5b0e9fb353dd79fb73a3adc4867dd8ecef5cb3f4..1e49367886180eb88266881aac407c9ba67a0d45 100644 (file)
@@ -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