diff options
author | Zac Medico <zmedico@gentoo.org> | 2009-03-11 06:37:17 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2009-03-11 06:37:17 +0000 |
commit | 56818e8794e5e7ea5ec45ead116f26a5fcd0e2e8 (patch) | |
tree | ad5aeb8c668a4a27d1408cf9f2d861b7b5fc89b6 | |
parent | 65b72ec15089ccaa8225c379b9e65a5ee784113b (diff) | |
download | portage-56818e8794e5e7ea5ec45ead116f26a5fcd0e2e8.tar.gz portage-56818e8794e5e7ea5ec45ead116f26a5fcd0e2e8.tar.bz2 portage-56818e8794e5e7ea5ec45ead116f26a5fcd0e2e8.zip |
Bug #261082 - Fix --getbinpkgonly code in binarytree._populate() to
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
-rw-r--r-- | pym/portage/dbapi/bintree.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pym/portage/dbapi/bintree.py b/pym/portage/dbapi/bintree.py index 40886a55b..9bd8eb92e 100644 --- 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: |