From: Zac Medico Date: Thu, 25 Oct 2007 04:50:01 +0000 (-0000) Subject: For the global AUTOCLEAN, pass an empty list into unmerge() X-Git-Tag: v2.2_pre1~520 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=a3463bc1dcf821fa8db82469d2195200fc539bad;p=portage.git For the global AUTOCLEAN, pass an empty list into unmerge() so it behaves like it used to. svn path=/main/trunk/; revision=8287 --- diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py index 49a97d077..9eef9b6a3 100644 --- a/pym/_emerge/__init__.py +++ b/pym/_emerge/__init__.py @@ -6168,7 +6168,7 @@ def action_build(settings, trees, mtimedb, if "yes" == settings.get("AUTOCLEAN"): portage.writemsg_stdout(">>> Auto-cleaning packages...\n") vartree = trees[settings["ROOT"]]["vartree"] - unmerge(settings, myopts, vartree, "clean", ["world"], + unmerge(settings, myopts, vartree, "clean", [], ldpath_mtimes, autoclean=1) else: portage.writemsg_stdout(colorize("WARN", "WARNING:")