From f773aa347211235417363945d8bfd409e201357e Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 12 Mar 2009 04:25:01 +0000 Subject: Make dyn_clean ignore FEATURES=keepwork when [[ $EMERGE_FROM = binary ]] and remove shutil.rmtree() call from Binpkg._clean_exit() since dyn_clean is guaranteed to do a full clean now. svn path=/main/trunk/; revision=13069 --- pym/_emerge/__init__.py | 7 ------- 1 file changed, 7 deletions(-) (limited to 'pym') diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py index a0b73dd19..b8a0a5059 100644 --- a/pym/_emerge/__init__.py +++ b/pym/_emerge/__init__.py @@ -3510,13 +3510,6 @@ class Binpkg(CompositeTask): dir_path = self._build_dir.dir_path - try: - shutil.rmtree(dir_path) - except (IOError, OSError), e: - if e.errno != errno.ENOENT: - raise - del e - infloc = self._infloc pkg = self.pkg pkg_path = self._pkg_path -- cgit v1.2.3-1-g7c22