From 9fcd0d0d5b6a9e75ebee680f3f9ff5cce867efe0 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 9 Sep 2010 23:57:29 -0700 Subject: [PATCH] Eliminate redunant elog_process() call in EbuildBuild._fetch_exit() which fetch has failed, since _unlock_builddir() will handle it later. --- pym/_emerge/EbuildBuild.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pym/_emerge/EbuildBuild.py b/pym/_emerge/EbuildBuild.py index ecf9f6c43..74081ce3b 100644 --- a/pym/_emerge/EbuildBuild.py +++ b/pym/_emerge/EbuildBuild.py @@ -150,12 +150,11 @@ class EbuildBuild(CompositeTask): def _fetch_exit(self, fetcher): - portage.elog.elog_process(self.pkg.cpv, self.settings) - if self._default_exit(fetcher) != os.EX_OK: self._fetch_failed() return + portage.elog.elog_process(self.pkg.cpv, self.settings) # discard successful fetch log self._build_dir.clean_log() pkg = self.pkg -- 2.26.2