From: Zac Medico Date: Tue, 2 Mar 2010 21:10:37 +0000 (-0000) Subject: Remove redundant local elog_process import that can trigger UnboundLocalError X-Git-Tag: v2.1.8~20 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=835f8789d2d1f1e07a85e73c7ccaa8e20d8fae0c;p=portage.git Remove redundant local elog_process import that can trigger UnboundLocalError in some cases. (trunk r15505) svn path=/main/branches/2.1.7/; revision=15703 --- 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"],