summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-10-25 04:50:01 +0000
committerZac Medico <zmedico@gentoo.org>2007-10-25 04:50:01 +0000
commita3463bc1dcf821fa8db82469d2195200fc539bad (patch)
tree694e08f0f3f1232b017b4b8808f89a71e6886a59
parent22993c9ce57e2557ad4792f4f078ba3078b273e1 (diff)
downloadportage-a3463bc1dcf821fa8db82469d2195200fc539bad.tar.gz
portage-a3463bc1dcf821fa8db82469d2195200fc539bad.tar.bz2
portage-a3463bc1dcf821fa8db82469d2195200fc539bad.zip
For the global AUTOCLEAN, pass an empty list into unmerge()
so it behaves like it used to. svn path=/main/trunk/; revision=8287
-rw-r--r--pym/_emerge/__init__.py2
1 files changed, 1 insertions, 1 deletions
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:")