diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-01-17 15:52:06 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-02-21 13:21:27 +0000 |
commit | 3c6caab8bc1b104e7db680e2d8bfab51642cad32 (patch) | |
tree | c2b4ef125248dbe2929a206e61edf774078b6290 /lib/bb/build.py | |
parent | 850e194f8ce5beeb5226be62ddb7ff839815bd33 (diff) | |
download | bitbake-3c6caab8bc1b104e7db680e2d8bfab51642cad32.tar.gz |
bitbake/build.py: Rename message field to avoid DeprecationWarning: BaseException.message warning
(From Poky rev: 0388f0758f84c7a8ec975d9be7e384cb65d9af4c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/bb/build.py')
-rw-r--r-- | lib/bb/build.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/bb/build.py b/lib/bb/build.py index eb2306ea3..1855e3299 100644 --- a/lib/bb/build.py +++ b/lib/bb/build.py @@ -52,16 +52,16 @@ class FuncFailed(Exception): self.logfile = logfile self.name = name if name: - self.message = "Function '%s' failed" % name + self.msg = "Function '%s' failed" % name else: - self.message = "Function failed" + self.msg = "Function failed" 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): |