projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
65b72ec
)
Bug #261082 - Fix --getbinpkgonly code in binarytree._populate() to
author
Zac Medico
<zmedico@gentoo.org>
Wed, 11 Mar 2009 06:37:17 +0000
(06:37 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Wed, 11 Mar 2009 06:37:17 +0000
(06:37 -0000)
update the aux_get cache when it's appropriate for a remote package
to override a local package. (trunk r12747)
svn path=/main/branches/2.1.6/; revision=12996
pym/portage/dbapi/bintree.py
patch
|
blob
|
history
diff --git
a/pym/portage/dbapi/bintree.py
b/pym/portage/dbapi/bintree.py
index 40886a55b7b2865bf7817bafcd329d998e11b985..9bd8eb92ef1d4a829df54a0fe1d77bfa7e7c558d 100644
(file)
--- a/
pym/portage/dbapi/bintree.py
+++ b/
pym/portage/dbapi/bintree.py
@@
-725,6
+725,9
@@
class binarytree(object):
break
if identical:
del self._remotepkgs[cpv]
+ else:
+ # Override the local package in the aux_get cache.
+ self.dbapi._aux_cache[cpv] = remote_metadata
else:
# Local package instances override remote instances.
for cpv in metadata: