summaryrefslogtreecommitdiffstats
path: root/bitbake/lib
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib')
-rw-r--r--bitbake/lib/bb/build.py6
1 files changed, 3 insertions, 3 deletions
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):
51 def __init__(self, name, logfile = None): 51 def __init__(self, name, logfile = None):
52 self.logfile = logfile 52 self.logfile = logfile
53 self.name = name 53 self.name = name
54 self.message = "Function '%s' failed" % name 54 self.msg = "Function '%s' failed" % name
55 55
56 def __str__(self): 56 def __str__(self):
57 if self.logfile and os.path.exists(self.logfile): 57 if self.logfile and os.path.exists(self.logfile):
58 msg = ("%s (see %s for further information)" % 58 msg = ("%s (see %s for further information)" %
59 (self.message, self.logfile)) 59 (self.msg, self.logfile))
60 else: 60 else:
61 msg = self.message 61 msg = self.msg
62 return msg 62 return msg
63 63
64class TaskBase(event.Event): 64class TaskBase(event.Event):