diff options
author | Zac Medico <zmedico@gentoo.org> | 2008-10-31 20:40:51 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2008-10-31 20:40:51 +0000 |
commit | 8668b31fdc005d521ce991b1c7542dcc6f385452 (patch) | |
tree | f8f9e75304dad8c20084419c8489a9deef680b98 | |
parent | 580eba6603b6b4a2d38fbe5388dabf25c805d60d (diff) | |
download | portage-8668b31fdc005d521ce991b1c7542dcc6f385452.tar.gz portage-8668b31fdc005d521ce991b1c7542dcc6f385452.tar.bz2 portage-8668b31fdc005d521ce991b1c7542dcc6f385452.zip |
Eliminate duplicate code by calling equivalent dblink._clear_contents_cache().
svn path=/main/trunk/; revision=11767
-rw-r--r-- | pym/portage/dbapi/vartree.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/pym/portage/dbapi/vartree.py b/pym/portage/dbapi/vartree.py index 5c4de76af..e1da2084f 100644 --- 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 |