diff options
author | Zac Medico <zmedico@gentoo.org> | 2009-06-26 21:37:17 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2009-06-26 21:37:17 +0000 |
commit | ca3f3cf17994da8925195906ce7633352f5c79ff (patch) | |
tree | 7df79288fe303ca1953a26f1264846aeccc7c042 | |
parent | dcdef4527234489e0483459712dcef585445301b (diff) | |
download | portage-ca3f3cf17994da8925195906ce7633352f5c79ff.tar.gz portage-ca3f3cf17994da8925195906ce7633352f5c79ff.tar.bz2 portage-ca3f3cf17994da8925195906ce7633352f5c79ff.zip |
Use clear_caches() to free memory inside action_depclean().
svn path=/main/trunk/; revision=13700
-rw-r--r-- | pym/_emerge/actions.py | 3 |
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 |