* [gentoo-commits] portage r15690 - main/branches/2.1.7/pym/portage/dbapi
@ 2010-03-02 21:08 Zac Medico (zmedico)
0 siblings, 0 replies; only message in thread
From: Zac Medico (zmedico) @ 2010-03-02 21:08 UTC (permalink / raw
To: gentoo-commits
Author: zmedico
Date: 2010-03-02 21:08:24 +0000 (Tue, 02 Mar 2010)
New Revision: 15690
Modified:
main/branches/2.1.7/pym/portage/dbapi/vartree.py
Log:
Fix vardbapi.move_ent and aux_update to clear relevant caches. (trunk r15489)
Modified: main/branches/2.1.7/pym/portage/dbapi/vartree.py
===================================================================
--- main/branches/2.1.7/pym/portage/dbapi/vartree.py 2010-03-02 21:08:12 UTC (rev 15689)
+++ main/branches/2.1.7/pym/portage/dbapi/vartree.py 2010-03-02 21:08:24 UTC (rev 15690)
@@ -220,6 +220,8 @@
#dest already exists; keep this puppy where it is.
continue
_movefile(origpath, newpath, mysettings=self.settings)
+ self._clear_pkg_cache(self._dblink(mycpv))
+ self._clear_pkg_cache(self._dblink(mynewcpv))
# We need to rename the ebuild now.
old_pf = catsplit(mycpv)[1]
@@ -616,6 +618,7 @@
treetype="vartree", vartree=self.vartree)
if not mylink.exists():
raise KeyError(cpv)
+ self._clear_pkg_cache(mylink)
for k, v in values.items():
if v:
mylink.setfile(k, v)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-03-02 21:08 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-02 21:08 [gentoo-commits] portage r15690 - main/branches/2.1.7/pym/portage/dbapi Zac Medico (zmedico)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox