From d92c081341182175ddf3245e39d2ca4bd44bdc81 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Tue, 16 Jan 2007 20:08:13 +0000 Subject: [PATCH] For consistency, respect the use_binaries flag inside _expand_new_virtuals(). svn path=/main/trunk/; revision=5674 --- pym/portage.py | 2 ++ 1 file changed, 2 insertions(+) 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 == "||": -- 2.26.2