Pass a valid phase into eerror so that it works.
authorZac Medico <zmedico@gentoo.org>
Thu, 20 Dec 2007 06:07:04 +0000 (06:07 -0000)
committerZac Medico <zmedico@gentoo.org>
Thu, 20 Dec 2007 06:07:04 +0000 (06:07 -0000)
svn path=/main/trunk/; revision=8976

pym/portage/__init__.py

index 1d6a43c545c3d3d700cd54609627667d1e7e6b15..b174a12acdab487ff7628c632c17245c1a16f912 100644 (file)
@@ -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