From: Zac Medico Date: Tue, 16 Jan 2007 20:08:13 +0000 (-0000) Subject: For consistency, respect the use_binaries flag inside _expand_new_virtuals(). X-Git-Tag: v2.1.2-r1~17 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d92c081341182175ddf3245e39d2ca4bd44bdc81;p=portage.git For consistency, respect the use_binaries flag inside _expand_new_virtuals(). svn path=/main/trunk/; revision=5674 --- diff --git a/pym/portage.py b/pym/portage.py index 75bd63828..a45f62cc3 100644 --- a/pym/portage.py +++ b/pym/portage.py @@ -3889,6 +3889,8 @@ def _expand_new_virtuals(mysplit, edebug, mydbapi, mysettings, myroot="/", def compare_pkgs(a, b): return pkgcmp(b[1], a[1]) portdb = trees[myroot]["porttree"].dbapi + if kwargs["use_binaries"]: + portdb = trees[myroot]["bintree"].dbapi myvirtuals = mysettings.getvirtuals() for x in mysplit: if x == "||":