Before returning from PreservedLibsRegistry.store(), update self._data_orig.
authorZac Medico <zmedico@gentoo.org>
Sat, 1 Nov 2008 06:40:36 +0000 (06:40 -0000)
committerZac Medico <zmedico@gentoo.org>
Sat, 1 Nov 2008 06:40:36 +0000 (06:40 -0000)
svn path=/main/trunk/; revision=11778

pym/portage/dbapi/vartree.py

index 187017fcaa04d416a67adfc6840d97f51c95f35e..c203d7707388367d2b8952af26bbaf42d119d89a 100644 (file)
@@ -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