From: Zac Medico Date: Mon, 7 Jul 2008 02:18:58 +0000 (-0000) Subject: Fix EbuildPhase._set_returncode() so that it correctly updates the returncode X-Git-Tag: v2.2_rc2~174 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=ee2225ed6b401fe61f3b715d1a7fcccb2b68abd9;p=portage.git Fix EbuildPhase._set_returncode() so that it correctly updates the returncode attrbute instead of just a local variable. svn path=/main/trunk/; revision=10964 --- 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): """