From ee2225ed6b401fe61f3b715d1a7fcccb2b68abd9 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Mon, 7 Jul 2008 02:18:58 +0000 Subject: [PATCH] Fix EbuildPhase._set_returncode() so that it correctly updates the returncode attrbute instead of just a local variable. svn path=/main/trunk/; revision=10964 --- pym/_emerge/__init__.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py index a1a14cca9..f497bd7d7 100644 --- a/pym/_emerge/__init__.py +++ b/pym/_emerge/__init__.py @@ -2288,13 +2288,12 @@ class EbuildPhase(SubProcess): for l in wrap(msg, 72): eerror(l, phase=self.phase, key=self.pkg.cpv) - returncode = self.returncode settings = self.settings portage._post_phase_userpriv_perms(settings) if self.phase == "install": portage._check_build_log(settings) - if returncode == os.EX_OK: - returncode = portage._post_src_install_checks(settings) + if self.returncode == os.EX_OK: + self.returncode = portage._post_src_install_checks(settings) class EbuildBinpkg(EbuildPhase): """ -- 2.26.2