From 8668b31fdc005d521ce991b1c7542dcc6f385452 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 31 Oct 2008 20:40:51 +0000 Subject: [PATCH] Eliminate duplicate code by calling equivalent dblink._clear_contents_cache(). svn path=/main/trunk/; revision=11767 --- pym/portage/dbapi/vartree.py | 4 +--- 1 file changed, 1 insertion(+), 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 -- 2.26.2