summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pym/_emerge/FakeVartree.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/pym/_emerge/FakeVartree.py b/pym/_emerge/FakeVartree.py
index 3a9d5d63..728d44a7 100644
--- a/pym/_emerge/FakeVartree.py
+++ b/pym/_emerge/FakeVartree.py
@@ -106,7 +106,13 @@ class FakeVartree(portage.vartree):
# Populate the old-style virtuals using the cached values.
if not self.settings.treeVirtuals:
- self.settings._populate_treeVirtuals(self)
+ # Skip the aux_get wrapper here, to avoid unwanted
+ # cache generation.
+ try:
+ self.dbapi.aux_get = self._aux_get
+ self.settings._populate_treeVirtuals(self)
+ finally:
+ self.dbapi.aux_get = self._aux_get_wrapper
def _sync(self):