From: Zac Medico Date: Wed, 4 Mar 2009 20:30:17 +0000 (-0000) Subject: Bug #261082 - Fix --getbinpkgonly code in binarytree._populate() to X-Git-Tag: v2.2_rc24~68 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=2a94d9259c94b2579d4b3729670a1f299f5c7c09;p=portage.git 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. svn path=/main/trunk/; revision=12747 --- 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: