FakeVartree: implement self.dbapi._aux_cache_keys
authorZac Medico <zmedico@gentoo.org>
Sat, 24 Dec 2011 10:23:30 +0000 (02:23 -0800)
committerZac Medico <zmedico@gentoo.org>
Sat, 24 Dec 2011 10:23:30 +0000 (02:23 -0800)
This will fix bug #395879.

pym/_emerge/FakeVartree.py

index e1e575706b703b3ac107a5f3fa2b5f9f83597a5c..d4dbe97ec477a04f5bf67d7acbb45a41eaa8a266 100644 (file)
@@ -57,6 +57,7 @@ class FakeVartree(vartree):
                self._db_keys = mykeys
                self._pkg_cache = pkg_cache
                self.dbapi = FakeVardbapi(real_vartree.settings)
+               self.dbapi._aux_cache_keys = set(self._db_keys)
 
                # Initialize variables needed for lazy cache pulls of the live ebuild
                # metadata.  This ensures that the vardb lock is released ASAP, without