diff options
Diffstat (limited to 'bitbake/lib')
-rw-r--r-- | bitbake/lib/bb/build.py | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/bitbake/lib/bb/build.py b/bitbake/lib/bb/build.py index f511caeb9..4f8ac9573 100644 --- a/bitbake/lib/bb/build.py +++ b/bitbake/lib/bb/build.py @@ -51,12 +51,8 @@ __builtins__['os'] = os class FuncFailed(Exception): def __init__(self, name, logfile = None): self.logfile = logfile - if logfile is None: - self.name = None - self.message = name - else: - self.name = name - self.message = "Function '%s' failed" % name + self.name = name + self.message = "Function '%s' failed" % name def __str__(self): if self.logfile and os.path.exists(self.logfile): |