From: Zac Medico Date: Sat, 1 Nov 2008 06:40:36 +0000 (-0000) Subject: Before returning from PreservedLibsRegistry.store(), update self._data_orig. X-Git-Tag: v2.2_rc13~12 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=44cddaa25c559a4b65b20e823ad606f677b314ac;p=portage.git Before returning from PreservedLibsRegistry.store(), update self._data_orig. svn path=/main/trunk/; revision=11778 --- 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