From: Zac Medico Date: Sat, 18 May 2013 12:29:20 +0000 (-0700) Subject: EbuildBuild: don't digest if fetch failed X-Git-Tag: v2.2.0_alpha176~7 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f86a5a7364417e4a67e6b925f3def5e9d638ce98;p=portage.git EbuildBuild: don't digest if fetch failed --- diff --git a/pym/_emerge/EbuildBuild.py b/pym/_emerge/EbuildBuild.py index 845b11582..75d906ffb 100644 --- a/pym/_emerge/EbuildBuild.py +++ b/pym/_emerge/EbuildBuild.py @@ -162,7 +162,7 @@ class EbuildBuild(CompositeTask): if self.returncode != os.EX_OK: portdb = self.pkg.root_config.trees[self._tree].dbapi spawn_nofetch(portdb, self._ebuild_path, settings=self.settings) - if 'digest' in self.settings.features: + elif 'digest' in self.settings.features: if not digestgen(mysettings=self.settings, myportdb=self.pkg.root_config.trees[self._tree].dbapi): self.returncode = 1