From: Zac Medico Date: Fri, 31 Oct 2008 20:40:51 +0000 (-0000) Subject: Eliminate duplicate code by calling equivalent dblink._clear_contents_cache(). X-Git-Tag: v2.2_rc13~23 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=8668b31fdc005d521ce991b1c7542dcc6f385452;p=portage.git Eliminate duplicate code by calling equivalent dblink._clear_contents_cache(). svn path=/main/trunk/; revision=11767 --- 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