add a call to pruneNonExisting() at the end of dbapi.vartree.PreservedLibsRegistry...
authorZac Medico <zmedico@gentoo.org>
Tue, 1 Jul 2008 05:22:57 +0000 (05:22 -0000)
committerZac Medico <zmedico@gentoo.org>
Tue, 1 Jul 2008 05:22:57 +0000 (05:22 -0000)
svn path=/main/trunk/; revision=10862

pym/portage/dbapi/vartree.py

index 38fa50c4a7ee1865ac8df90d95c23cfcd0655ac0..cd1e1ddca80ffbd71d7b524df850bbbb9d436761 100644 (file)
@@ -46,7 +46,8 @@ class PreservedLibsRegistry(object):
                self._filename = filename
                self._autocommit = autocommit
                self.load()
-       
+               self.pruneNonExisting()
+
        def load(self):
                """ Reload the registry data from file """
                try: