projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
580eba6
)
Eliminate duplicate code by calling equivalent dblink._clear_contents_cache().
author
Zac Medico
<zmedico@gentoo.org>
Fri, 31 Oct 2008 20:40:51 +0000
(20:40 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Fri, 31 Oct 2008 20:40:51 +0000
(20:40 -0000)
svn path=/main/trunk/; revision=11767
pym/portage/dbapi/vartree.py
patch
|
blob
|
history
diff --git
a/pym/portage/dbapi/vartree.py
b/pym/portage/dbapi/vartree.py
index 5c4de76afb1e892f3ccf4f5da5ed69964fd46720..e1da2084f6ada96ffaa6e676449502ec87db3631 100644
(file)
--- a/
pym/portage/dbapi/vartree.py
+++ b/
pym/portage/dbapi/vartree.py
@@
-3295,9
+3295,7
@@
class dblink(object):
# 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