From f86a5a7364417e4a67e6b925f3def5e9d638ce98 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sat, 18 May 2013 05:29:20 -0700 Subject: [PATCH] EbuildBuild: don't digest if fetch failed --- pym/_emerge/EbuildBuild.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.26.2