diff options
author | Zac Medico <zmedico@gentoo.org> | 2008-07-07 02:18:58 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2008-07-07 02:18:58 +0000 |
commit | ee2225ed6b401fe61f3b715d1a7fcccb2b68abd9 (patch) | |
tree | 19239594d4ac278aad62771ffcf950fc2ee20ab9 /pym/_emerge | |
parent | 5d86d513ed2754c43fff51313aeab7d28ff13062 (diff) | |
download | portage-ee2225ed6b401fe61f3b715d1a7fcccb2b68abd9.tar.gz portage-ee2225ed6b401fe61f3b715d1a7fcccb2b68abd9.tar.bz2 portage-ee2225ed6b401fe61f3b715d1a7fcccb2b68abd9.zip |
Fix EbuildPhase._set_returncode() so that it correctly updates the returncode
attrbute instead of just a local variable.
svn path=/main/trunk/; revision=10964
Diffstat (limited to 'pym/_emerge')
-rw-r--r-- | pym/_emerge/__init__.py | 5 |
1 files 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): """ |