summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/portage.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pym/portage.py b/pym/portage.py
index 9fa2b4b6c..fff074035 100644
--- a/pym/portage.py
+++ b/pym/portage.py
@@ -1746,7 +1746,8 @@ class config:
self.userVirtuals = stack_dictlist([self.userVirtuals],incremental=1)
# Collapse all the profile virtuals including user negations.
- self.dirVirtuals = stack_dictlist([self.negVirtuals]+self.dirVirtuals,incremental=1)
+ self.dirVirtuals = stack_dictlist(
+ self.dirVirtuals + [self.negVirtuals], incremental=1)
# Repoman does not use user or tree virtuals.
if os.environ.get("PORTAGE_CALLER","") != "repoman":