diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-01-17 15:52:06 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-01-17 15:52:06 +0000 |
commit | 0388f0758f84c7a8ec975d9be7e384cb65d9af4c (patch) | |
tree | 7ad38f8c7a48c7ee634a1d1a7e19c7ec7ec6119c /bitbake | |
parent | a7fa6dbb91e48158680e5f934289e28119862cdc (diff) | |
download | openembedded-core-0388f0758f84c7a8ec975d9be7e384cb65d9af4c.tar.gz openembedded-core-0388f0758f84c7a8ec975d9be7e384cb65d9af4c.tar.bz2 openembedded-core-0388f0758f84c7a8ec975d9be7e384cb65d9af4c.tar.xz openembedded-core-0388f0758f84c7a8ec975d9be7e384cb65d9af4c.zip |
bitbake/build.py: Rename message field to avoid DeprecationWarning: BaseException.message warning
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r-- | bitbake/lib/bb/build.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bitbake/lib/bb/build.py b/bitbake/lib/bb/build.py index 0376cc93b..74295dd45 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): |