From: Zac Medico Date: Fri, 10 Sep 2010 06:57:29 +0000 (-0700) Subject: Eliminate redunant elog_process() call in EbuildBuild._fetch_exit() X-Git-Tag: v2.2_rc79~12 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=9fcd0d0d5b6a9e75ebee680f3f9ff5cce867efe0;p=portage.git Eliminate redunant elog_process() call in EbuildBuild._fetch_exit() which fetch has failed, since _unlock_builddir() will handle it later. --- 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