diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-07-31 15:55:51 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-08-06 11:21:32 +0100 |
commit | 347c2056022d21deea6e2e7359eca2b96c6f01fe (patch) | |
tree | 521dd5daa3de4f23487eb84884d0ffd759b63207 /bitbake/lib/bb/data.py | |
parent | 4fbb862cdcdcfa44da83f9a7e7a74ab518ef67d0 (diff) | |
download | poky-347c2056022d21deea6e2e7359eca2b96c6f01fe.tar.gz |
bitbake: build/utils: Drop bb.build.FuncFailed
Its hard to see what this exception adds in the current codebase. The logfile
attribute is effectively ignored, the exception doesn't serve a defined
purpose and mostly seems to be worked around.
Remove it entirely. If this does cause output problems, we'll figure
out better ways to address those.
(Bitbake rev: cfeffb602dd5319f071cd6bcf84139ec77f2d170)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/data.py')
-rw-r--r-- | bitbake/lib/bb/data.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/data.py b/bitbake/lib/bb/data.py index 443615b977..0d75d0c1a9 100644 --- a/bitbake/lib/bb/data.py +++ b/bitbake/lib/bb/data.py | |||
@@ -130,7 +130,7 @@ def emit_var(var, o=sys.__stdout__, d = init(), all=False): | |||
130 | if all: | 130 | if all: |
131 | oval = d.getVar(var, False) | 131 | oval = d.getVar(var, False) |
132 | val = d.getVar(var) | 132 | val = d.getVar(var) |
133 | except (KeyboardInterrupt, bb.build.FuncFailed): | 133 | except (KeyboardInterrupt): |
134 | raise | 134 | raise |
135 | except Exception as exc: | 135 | except Exception as exc: |
136 | o.write('# expansion of %s threw %s: %s\n' % (var, exc.__class__.__name__, str(exc))) | 136 | o.write('# expansion of %s threw %s: %s\n' % (var, exc.__class__.__name__, str(exc))) |