summaryrefslogtreecommitdiffstats
path: root/pym
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2006-10-07 22:14:52 +0000
committerZac Medico <zmedico@gentoo.org>2006-10-07 22:14:52 +0000
commit5cf1a2a914a22233ae601ffbf903ac551660df56 (patch)
treebf49122aac9e143c0094d058ee8438a671f3844c /pym
parentb2384f6328e87d449250cd89b9dbe2be7b3c33e1 (diff)
downloadportage-5cf1a2a914a22233ae601ffbf903ac551660df56.tar.gz
portage-5cf1a2a914a22233ae601ffbf903ac551660df56.tar.bz2
portage-5cf1a2a914a22233ae601ffbf903ac551660df56.zip
Stack negative user virtuals in the correct order for incremental behavior.
svn path=/main/trunk/; revision=4616
Diffstat (limited to 'pym')
-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":