Stack negative user virtuals in the correct order for incremental behavior.
authorZac Medico <zmedico@gentoo.org>
Sat, 7 Oct 2006 22:14:52 +0000 (22:14 -0000)
committerZac Medico <zmedico@gentoo.org>
Sat, 7 Oct 2006 22:14:52 +0000 (22:14 -0000)
svn path=/main/trunk/; revision=4616

pym/portage.py

index 9fa2b4b6c53dabaa02f360efc964a42b123c11a3..fff0740356732d3de99c0a72498ec96646384261 100644 (file)
@@ -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":