From: Zac Medico Date: Tue, 2 Mar 2010 21:07:13 +0000 (-0000) Subject: Fix reference to portage.util.listdir.dircache. (trunk r15477) X-Git-Tag: v2.1.8~37 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=4d85055291a22c964ad5fc59eadeab9c208db454;p=portage.git Fix reference to portage.util.listdir.dircache. (trunk r15477) svn path=/main/branches/2.1.7/; revision=15686 --- diff --git a/pym/_emerge/clear_caches.py b/pym/_emerge/clear_caches.py index cd43d915d..a0c834201 100644 --- a/pym/_emerge/clear_caches.py +++ b/pym/_emerge/clear_caches.py @@ -4,6 +4,7 @@ import gc import portage +from portage.util.listdir import dircache def clear_caches(trees): for d in trees.values(): @@ -11,5 +12,5 @@ def clear_caches(trees): d["porttree"].dbapi._aux_cache.clear() d["bintree"].dbapi._aux_cache.clear() d["bintree"].dbapi._clear_cache() - portage.dircache.clear() + dircache.clear() gc.collect()