diff options
author | Zac Medico <zmedico@gentoo.org> | 2007-01-16 20:08:13 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2007-01-16 20:08:13 +0000 |
commit | d92c081341182175ddf3245e39d2ca4bd44bdc81 (patch) | |
tree | 3127d14dd548927f10041ccacc22d76b4c40abe1 | |
parent | switch news timestamp and unread/read storage to '/var/lib/gentoo' like the G... (diff) | |
download | portage-multirepo-d92c081341182175ddf3245e39d2ca4bd44bdc81.tar.gz portage-multirepo-d92c081341182175ddf3245e39d2ca4bd44bdc81.tar.bz2 portage-multirepo-d92c081341182175ddf3245e39d2ca4bd44bdc81.zip |
For consistency, respect the use_binaries flag inside _expand_new_virtuals().
svn path=/main/trunk/; revision=5674
-rw-r--r-- | pym/portage.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pym/portage.py b/pym/portage.py index 75bd6382..a45f62cc 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 == "||": |