From: Zac Medico Date: Thu, 20 Dec 2007 06:07:04 +0000 (-0000) Subject: Pass a valid phase into eerror so that it works. X-Git-Tag: v2.2_pre1~151 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d3fdc5fb4e4baa4ff798c455e744e4f2e88c556c;p=portage.git Pass a valid phase into eerror so that it works. svn path=/main/trunk/; revision=8976 --- diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py index 1d6a43c54..b174a12ac 100644 --- a/pym/portage/__init__.py +++ b/pym/portage/__init__.py @@ -4525,7 +4525,7 @@ def doebuild(myebuild, mydo, myroot, mysettings, debug=0, listonly=0, from portage.elog.messages import eerror from textwrap import wrap for line in wrap(msg, 70): - eerror(line, phase=mydo, key=mysettings.mycpv) + eerror(line, phase="setup", key=mysettings.mycpv) from portage.elog import elog_process elog_process(mysettings.mycpv, mysettings) return 1