From 0388f0758f84c7a8ec975d9be7e384cb65d9af4c Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Mon, 17 Jan 2011 15:52:06 +0000 Subject: bitbake/build.py: Rename message field to avoid DeprecationWarning: BaseException.message warning Signed-off-by: Richard Purdie --- bitbake/lib/bb/build.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bitbake/lib/bb/build.py') diff --git a/bitbake/lib/bb/build.py b/bitbake/lib/bb/build.py index 0376cc93b8..74295dd454 100644 --- a/bitbake/lib/bb/build.py +++ b/bitbake/lib/bb/build.py @@ -51,14 +51,14 @@ class FuncFailed(Exception): def __init__(self, name, logfile = None): self.logfile = logfile self.name = name - self.message = "Function '%s' failed" % name + self.msg = "Function '%s' failed" % name def __str__(self): if self.logfile and os.path.exists(self.logfile): msg = ("%s (see %s for further information)" % - (self.message, self.logfile)) + (self.msg, self.logfile)) else: - msg = self.message + msg = self.msg return msg class TaskBase(event.Event): -- cgit v1.2.3