Remove redundant local elog_process import that can trigger UnboundLocalError
authorZac Medico <zmedico@gentoo.org>
Tue, 2 Mar 2010 21:10:37 +0000 (21:10 -0000)
committerZac Medico <zmedico@gentoo.org>
Tue, 2 Mar 2010 21:10:37 +0000 (21:10 -0000)
in some cases. (trunk r15505)

svn path=/main/branches/2.1.7/; revision=15703

pym/portage/package/ebuild/doebuild.py

index ecb0e32ceb324c4a3afaab8e65182322442d389c..218e1bc7fafe19a3476448bfa82b2a2e889308aa 100644 (file)
@@ -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"],