Gentoo Archives: gentoo-commits

From: "Zac Medico (zmedico)" <zmedico@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] portage r11767 - main/trunk/pym/portage/dbapi
Date: Fri, 31 Oct 2008 20:40:55
Message-Id: E1Kw0nb-0007dd-Kl@stork.gentoo.org
1 Author: zmedico
2 Date: 2008-10-31 20:40:51 +0000 (Fri, 31 Oct 2008)
3 New Revision: 11767
4
5 Modified:
6 main/trunk/pym/portage/dbapi/vartree.py
7 Log:
8 Eliminate duplicate code by calling equivalent dblink._clear_contents_cache().
9
10
11 Modified: main/trunk/pym/portage/dbapi/vartree.py
12 ===================================================================
13 --- main/trunk/pym/portage/dbapi/vartree.py 2008-10-31 20:21:53 UTC (rev 11766)
14 +++ main/trunk/pym/portage/dbapi/vartree.py 2008-10-31 20:40:51 UTC (rev 11767)
15 @@ -3295,9 +3295,7 @@
16 # just been merged.
17 others_in_slot.append(self) # self has just been merged
18 for dblnk in others_in_slot:
19 - dblnk.contentscache = None
20 - dblnk._contents_inodes = None
21 - dblnk._contents_basenames = None
22 + dblnk._clear_contents_cache()
23
24 # If portage is reinstalling itself, remove the old
25 # version now since we want to use the temporary