diff options
author | Zac Medico <zmedico@gentoo.org> | 2009-08-14 20:29:06 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2009-08-14 20:29:06 +0000 |
commit | 530098352f124c76147ba30cce789ceaeac0a396 (patch) | |
tree | f60b3cbf2543f4069038d4d4cb5becadbaadf3b9 | |
parent | 6b0dab687140cff0bc13f6d9cb22a6f2cb7db60f (diff) | |
download | portage-530098352f124c76147ba30cce789ceaeac0a396.tar.gz portage-530098352f124c76147ba30cce789ceaeac0a396.tar.bz2 portage-530098352f124c76147ba30cce789ceaeac0a396.zip |
Add a clean_world attribute.
svn path=/main/trunk/; revision=14042
-rw-r--r-- | pym/_emerge/PackageUninstall.py | 6 |
1 files changed, 4 insertions, 2 deletions
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: |