In unmerge(), flush the vardbapi aux_get() cache to disk before releasing
authorZac Medico <zmedico@gentoo.org>
Sun, 18 May 2008 22:43:09 +0000 (22:43 -0000)
committerZac Medico <zmedico@gentoo.org>
Sun, 18 May 2008 22:43:09 +0000 (22:43 -0000)
the vardb lock.

svn path=/main/trunk/; revision=10361

pym/_emerge/__init__.py

index 19531c889b56ca2aa6949b35912815efea45978c..d0eb64cf98d05174b63f25b5d9d6db9e2db7f51a 100644 (file)
@@ -6320,6 +6320,7 @@ def unmerge(root_config, myopts, unmerge_action,
                        return 0
        finally:
                if vdb_lock:
+                       vartree.dbapi.flush_cache()
                        portage.locks.unlockdir(vdb_lock)
        
        from portage.sets.base import EditablePackageSet