projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6b60a54
)
For consistency, respect the use_binaries flag inside _expand_new_virtuals().
author
Zac Medico
<zmedico@gentoo.org>
Tue, 16 Jan 2007 20:08:13 +0000
(20:08 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Tue, 16 Jan 2007 20:08:13 +0000
(20:08 -0000)
svn path=/main/trunk/; revision=5674
pym/portage.py
patch
|
blob
|
history
diff --git
a/pym/portage.py
b/pym/portage.py
index 75bd6382801f15014c59d3c928e9ed22e7908bd5..a45f62cc3665192baa09884d54a27f3cbf9b814b 100644
(file)
--- 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 == "||":