* [gentoo-commits] portage r11767 - main/trunk/pym/portage/dbapi
@ 2008-10-31 20:40 99% Zac Medico (zmedico)
0 siblings, 0 replies; 1+ results
From: Zac Medico (zmedico) @ 2008-10-31 20:40 UTC (permalink / raw
To: gentoo-commits
Author: zmedico
Date: 2008-10-31 20:40:51 +0000 (Fri, 31 Oct 2008)
New Revision: 11767
Modified:
main/trunk/pym/portage/dbapi/vartree.py
Log:
Eliminate duplicate code by calling equivalent dblink._clear_contents_cache().
Modified: main/trunk/pym/portage/dbapi/vartree.py
===================================================================
--- main/trunk/pym/portage/dbapi/vartree.py 2008-10-31 20:21:53 UTC (rev 11766)
+++ main/trunk/pym/portage/dbapi/vartree.py 2008-10-31 20:40:51 UTC (rev 11767)
@@ -3295,9 +3295,7 @@
# just been merged.
others_in_slot.append(self) # self has just been merged
for dblnk in others_in_slot:
- dblnk.contentscache = None
- dblnk._contents_inodes = None
- dblnk._contents_basenames = None
+ dblnk._clear_contents_cache()
# If portage is reinstalling itself, remove the old
# version now since we want to use the temporary
^ permalink raw reply [relevance 99%]
Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2008-10-31 20:40 99% [gentoo-commits] portage r11767 - main/trunk/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