Gentoo Archives: gentoo-commits

From: "Zac Medico (zmedico)" <zmedico@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] portage r13700 - main/trunk/pym/_emerge
Date: Fri, 26 Jun 2009 21:37:19
Message-Id: E1MKJ6k-0001vh-Af@stork.gentoo.org
1 Author: zmedico
2 Date: 2009-06-26 21:37:17 +0000 (Fri, 26 Jun 2009)
3 New Revision: 13700
4
5 Modified:
6 main/trunk/pym/_emerge/actions.py
7 Log:
8 Use clear_caches() to free memory inside action_depclean().
9
10
11 Modified: main/trunk/pym/_emerge/actions.py
12 ===================================================================
13 --- main/trunk/pym/_emerge/actions.py 2009-06-26 21:32:01 UTC (rev 13699)
14 +++ main/trunk/pym/_emerge/actions.py 2009-06-26 21:37:17 UTC (rev 13700)
15 @@ -602,8 +602,7 @@
16 calc_depclean(settings, trees, ldpath_mtimes,
17 myopts, action, args_set, spinner)
18
19 - import gc
20 - gc.collect()
21 + clear_caches(trees)
22
23 if rval != os.EX_OK:
24 return rval