summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-11-01 06:40:36 +0000
committerZac Medico <zmedico@gentoo.org>2008-11-01 06:40:36 +0000
commit44cddaa25c559a4b65b20e823ad606f677b314ac (patch)
treeffb538207f38b9e2472b9d9c280ae8459d608208
parentRename "object" variable to avoid name collision with the builtin class. (diff)
downloadportage-multirepo-44cddaa25c559a4b65b20e823ad606f677b314ac.tar.gz
portage-multirepo-44cddaa25c559a4b65b20e823ad606f677b314ac.tar.bz2
portage-multirepo-44cddaa25c559a4b65b20e823ad606f677b314ac.zip
Before returning from PreservedLibsRegistry.store(), update self._data_orig.
svn path=/main/trunk/; revision=11778
-rw-r--r--pym/portage/dbapi/vartree.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/pym/portage/dbapi/vartree.py b/pym/portage/dbapi/vartree.py
index 187017fc..c203d770 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