From 835f8789d2d1f1e07a85e73c7ccaa8e20d8fae0c Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Tue, 2 Mar 2010 21:10:37 +0000 Subject: [PATCH] Remove redundant local elog_process import that can trigger UnboundLocalError in some cases. (trunk r15505) svn path=/main/branches/2.1.7/; revision=15703 --- pym/portage/package/ebuild/doebuild.py | 1 - 1 file changed, 1 deletion(-) diff --git a/pym/portage/package/ebuild/doebuild.py b/pym/portage/package/ebuild/doebuild.py index ecb0e32ce..218e1bc7f 100644 --- a/pym/portage/package/ebuild/doebuild.py +++ b/pym/portage/package/ebuild/doebuild.py @@ -994,7 +994,6 @@ def doebuild(myebuild, mydo, myroot, mysettings, debug=0, listonly=0, # The merge phase handles this already. Callers don't know how # far this function got, so we have to call elog_process() here # so that it's only called once. - from portage.elog import elog_process elog_process(mysettings.mycpv, mysettings) if retval == os.EX_OK: retval = merge(mysettings["CATEGORY"], mysettings["PF"], -- 2.26.2