summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-09-09 23:57:29 -0700
committerZac Medico <zmedico@gentoo.org>2010-09-09 23:57:29 -0700
commit9fcd0d0d5b6a9e75ebee680f3f9ff5cce867efe0 (patch)
treeb1d2158d1ac940fca40844db2d20aa31ad5d21ff
parent278d488efd84a40c8aa77a8d64ec4136cb1352bb (diff)
downloadportage-9fcd0d0d5b6a9e75ebee680f3f9ff5cce867efe0.tar.gz
portage-9fcd0d0d5b6a9e75ebee680f3f9ff5cce867efe0.tar.bz2
portage-9fcd0d0d5b6a9e75ebee680f3f9ff5cce867efe0.zip
Eliminate redunant elog_process() call in EbuildBuild._fetch_exit()
which fetch has failed, since _unlock_builddir() will handle it later.
-rw-r--r--pym/_emerge/EbuildBuild.py3
1 files changed, 1 insertions, 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