summaryrefslogtreecommitdiffstats
path: root/pym/portage.py
diff options
context:
space:
mode:
Diffstat (limited to 'pym/portage.py')
-rw-r--r--pym/portage.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/pym/portage.py b/pym/portage.py
index 1b3e495ea..2a6867909 100644
--- a/pym/portage.py
+++ b/pym/portage.py
@@ -1467,6 +1467,9 @@ class config:
self.already_in_regenerate = 0
def getvirtuals(self, myroot):
+ if self.virtuals:
+ return self.virtuals
+
myvirts = {}
# This breaks catalyst/portage when setting to a fresh/empty root.