summaryrefslogtreecommitdiffstats
path: root/pym/_emerge/__init__.py
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-03-30 06:18:15 +0000
committerZac Medico <zmedico@gentoo.org>2008-03-30 06:18:15 +0000
commit42a51c2c73649cf2c120ea57549cdf290ff92bd0 (patch)
treed111e1f324269c33eff10deaad15eca478d523d8 /pym/_emerge/__init__.py
parent8622eb84d84a666d3a541f0b1fcd39f7b0b2da24 (diff)
downloadportage-42a51c2c73649cf2c120ea57549cdf290ff92bd0.tar.gz
portage-42a51c2c73649cf2c120ea57549cdf290ff92bd0.tar.bz2
portage-42a51c2c73649cf2c120ea57549cdf290ff92bd0.zip
Move the AUTOCLEAN code into dblink.treewalk since it's already partially
supported there anyway (for replacement of identical cpv). This has the benefit of guaranteeing that the order of installation and removal phases is always the same. svn path=/main/trunk/; revision=9621
Diffstat (limited to 'pym/_emerge/__init__.py')
-rw-r--r--pym/_emerge/__init__.py14
1 files changed, 0 insertions, 14 deletions
diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py
index 63ca57dc1..91ec5dd0f 100644
--- a/pym/_emerge/__init__.py
+++ b/pym/_emerge/__init__.py
@@ -4792,20 +4792,6 @@ class MergeTask(object):
if "--pretend" not in self.myopts and \
"--fetchonly" not in self.myopts and \
"--fetch-all-uri" not in self.myopts:
- # Clean the old package that we have merged over top of it.
- if pkgsettings.get("AUTOCLEAN", "yes") == "yes":
- xsplit=portage.pkgsplit(x[2])
- emergelog(xterm_titles, " >>> AUTOCLEAN: " + xsplit[0])
- retval = unmerge(self.trees[myroot]["root_config"],
- self.myopts,
- "clean", [xsplit[0]], ldpath_mtimes, autoclean=1)
- if not retval:
- emergelog(xterm_titles,
- " --- AUTOCLEAN: Nothing unmerged.")
- else:
- portage.writemsg_stdout(colorize("WARN", "WARNING:")
- + " AUTOCLEAN is disabled. This can cause serious"
- + " problems due to overlapping packages.\n")
# Figure out if we need a restart.
mysplit=portage.pkgsplit(x[2])