For the global AUTOCLEAN, pass an empty list into unmerge()
authorZac Medico <zmedico@gentoo.org>
Thu, 25 Oct 2007 04:50:01 +0000 (04:50 -0000)
committerZac Medico <zmedico@gentoo.org>
Thu, 25 Oct 2007 04:50:01 +0000 (04:50 -0000)
so it behaves like it used to.

svn path=/main/trunk/; revision=8287

pym/_emerge/__init__.py

index 49a97d0770cd89b47be10e2eb25100c285cd30ba..9eef9b6a3dc94c6361f9bd26136fb593dc3ba079 100644 (file)
@@ -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:")