From: Zac Medico Date: Fri, 14 Aug 2009 20:29:06 +0000 (-0000) Subject: Add a clean_world attribute. X-Git-Tag: v2.2_rc39~74 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=530098352f124c76147ba30cce789ceaeac0a396;p=portage.git Add a clean_world attribute. svn path=/main/trunk/; revision=14042 --- diff --git a/pym/_emerge/PackageUninstall.py b/pym/_emerge/PackageUninstall.py index ff1b5e189..24f08d451 100644 --- a/pym/_emerge/PackageUninstall.py +++ b/pym/_emerge/PackageUninstall.py @@ -12,12 +12,14 @@ from _emerge.UninstallFailure import UninstallFailure class PackageUninstall(AsynchronousTask): - __slots__ = ("ldpath_mtimes", "opts", "pkg", "scheduler", "settings") + __slots__ = ("clean_world", "ldpath_mtimes", "opts", + "pkg", "scheduler", "settings") def _start(self): try: unmerge(self.pkg.root_config, self.opts, "unmerge", - [self.pkg.cpv], self.ldpath_mtimes, clean_world=0, + [self.pkg.cpv], self.ldpath_mtimes, + clean_world=self.clean_world, clean_delay=0, raise_on_error=1, scheduler=self.scheduler, writemsg_level=self._writemsg_level) except UninstallFailure, e: