From: Zac Medico Date: Mon, 28 Apr 2008 01:22:17 +0000 (-0000) Subject: Bug #211833 - When an ebuild removal phase fails, notify the user that X-Git-Tag: v2.2_pre6~92 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=708bb0e80635b5145275595dd6b87bd9bf36245f;p=portage.git Bug #211833 - When an ebuild removal phase fails, notify the user that removal of environment.bz2 file will cause the ebuild to be sourced and eclasses from the current portage tree will be used when necessary. svn path=/main/trunk/; revision=10009 --- diff --git a/pym/portage/dbapi/vartree.py b/pym/portage/dbapi/vartree.py index 86c26baf9..02b148417 100644 --- a/pym/portage/dbapi/vartree.py +++ b/pym/portage/dbapi/vartree.py @@ -1305,7 +1305,14 @@ class dblink(object): "The problem occurred while executing " + \ ("the ebuild located at '%s'. " % myebuildpath) + \ "If necessary, manually remove the ebuild " + \ - "in order to skip the execution of removal phases." + "and/or the environment.bz2 file which " + \ + "is located in the same directory. Removal " + \ + "of the environment.bz2 file will cause " + \ + "the ebuild to be sourced and eclasses " + \ + "from the current portage tree will be used " + \ + "when necessary. Removal of " + \ + "the ebuild will cause the execution of " + \ + "removal phases to be skipped entirely." from portage.elog.messages import eerror from textwrap import wrap for l in wrap(msg, 72):