summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-06-25 07:39:50 +0000
committerZac Medico <zmedico@gentoo.org>2008-06-25 07:39:50 +0000
commit1bea73be86683493c2db0889be82f9c92fe423d5 (patch)
tree5084e5da76d4b7f287b4354d9f605e03c2b64778
parentfc611ccd003d8f3e4c8d0e75a62966acb6305de0 (diff)
downloadportage-1bea73be86683493c2db0889be82f9c92fe423d5.tar.gz
portage-1bea73be86683493c2db0889be82f9c92fe423d5.tar.bz2
portage-1bea73be86683493c2db0889be82f9c92fe423d5.zip
Make clear_caches() call portage.dircache.clear().
svn path=/main/trunk/; revision=10778
-rw-r--r--pym/_emerge/__init__.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py
index f267c5422..8ce5d1969 100644
--- a/pym/_emerge/__init__.py
+++ b/pym/_emerge/__init__.py
@@ -9010,6 +9010,7 @@ def clear_caches(trees):
d["porttree"].dbapi._aux_cache.clear()
d["bintree"].dbapi._aux_cache.clear()
d["bintree"].dbapi._clear_cache()
+ portage.dircache.clear()
gc.collect()
def load_emerge_config(trees=None):