summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/_emerge/actions.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/pym/_emerge/actions.py b/pym/_emerge/actions.py
index 88c7dd4e9..19de2a3e1 100644
--- a/pym/_emerge/actions.py
+++ b/pym/_emerge/actions.py
@@ -602,8 +602,7 @@ def action_depclean(settings, trees, ldpath_mtimes,
calc_depclean(settings, trees, ldpath_mtimes,
myopts, action, args_set, spinner)
- import gc
- gc.collect()
+ clear_caches(trees)
if rval != os.EX_OK:
return rval