From 0363a5b7bc65a86c2e500a0f3018d6a83b721acf Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Tue, 27 Nov 2007 21:16:53 +0000 Subject: [PATCH] Remove a redundant os.EX_OK check that exit_status_check() already handles internally. svn path=/main/trunk/; revision=8712 --- pym/portage/__init__.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py index d3f87ae40..127f0ee8b 100644 --- a/pym/portage/__init__.py +++ b/pym/portage/__init__.py @@ -4537,8 +4537,7 @@ def doebuild(myebuild, mydo, myroot, mysettings, debug=0, listonly=0, elif mydo=="merge": retval = spawnebuild("install", actionmap, mysettings, debug, alwaysdep=1, logfile=logfile) - if retval == os.EX_OK: - retval = exit_status_check(retval) + retval = exit_status_check(retval) if retval != os.EX_OK: # The merge phase handles this already. Callers don't know how # far this function got, so we have to call elog_process() here -- 2.26.2