From 44cddaa25c559a4b65b20e823ad606f677b314ac Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sat, 1 Nov 2008 06:40:36 +0000 Subject: Before returning from PreservedLibsRegistry.store(), update self._data_orig. svn path=/main/trunk/; revision=11778 --- pym/portage/dbapi/vartree.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pym') diff --git a/pym/portage/dbapi/vartree.py b/pym/portage/dbapi/vartree.py index 187017fca..c203d7707 100644 --- a/pym/portage/dbapi/vartree.py +++ b/pym/portage/dbapi/vartree.py @@ -79,6 +79,8 @@ class PreservedLibsRegistry(object): except EnvironmentError, e: if e.errno != PermissionDenied.errno: writemsg("!!! %s %s\n" % (e, self._filename), noiselevel=-1) + else: + self._data_orig = self._data.copy() def register(self, cpv, slot, counter, paths): """ Register new objects in the registry. If there is a record with the -- cgit v1.2.3-1-g7c22