From 00ee92fe252895615ed966203cf2ad2eadeb6531 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sun, 9 Nov 2008 09:21:49 +0000 Subject: Inside vardbapi.removeFromContents(), automatically clear the contents cache of the dblink instance in case an existing one was passed in. svn path=/main/trunk/; revision=11833 --- pym/portage/dbapi/vartree.py | 1 + 1 file changed, 1 insertion(+) (limited to 'pym') diff --git a/pym/portage/dbapi/vartree.py b/pym/portage/dbapi/vartree.py index 1fd001761..4930d3b9a 100644 --- a/pym/portage/dbapi/vartree.py +++ b/pym/portage/dbapi/vartree.py @@ -1305,6 +1305,7 @@ class vardbapi(dbapi): f = atomic_ofstream(os.path.join(pkg.dbdir, "CONTENTS")) write_contents(new_contents, root, f) f.close() + pkg._clear_contents_cache() class _owners_cache(object): """ -- cgit v1.2.3-1-g7c22