diff options
Diffstat (limited to 'bitbake/lib/bb/shell.py')
-rw-r--r-- | bitbake/lib/bb/shell.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/bitbake/lib/bb/shell.py b/bitbake/lib/bb/shell.py index f9ca9d5bd3..c61e93a1cb 100644 --- a/bitbake/lib/bb/shell.py +++ b/bitbake/lib/bb/shell.py | |||
@@ -180,11 +180,9 @@ class BitBakeShellCommands: | |||
180 | last_exception = Providers.NoProvider | 180 | last_exception = Providers.NoProvider |
181 | 181 | ||
182 | except runqueue.TaskFailure as fnids: | 182 | except runqueue.TaskFailure as fnids: |
183 | for fnid in fnids: | ||
184 | print("ERROR: '%s' failed" % td.fn_index[fnid]) | ||
185 | last_exception = runqueue.TaskFailure | 183 | last_exception = runqueue.TaskFailure |
186 | 184 | ||
187 | except build.EventException as e: | 185 | except build.FuncFailed as e: |
188 | print("ERROR: Couldn't build '%s'" % names) | 186 | print("ERROR: Couldn't build '%s'" % names) |
189 | last_exception = e | 187 | last_exception = e |
190 | 188 | ||
@@ -247,7 +245,7 @@ class BitBakeShellCommands: | |||
247 | cooker.buildFile(bf, cmd) | 245 | cooker.buildFile(bf, cmd) |
248 | except parse.ParseError: | 246 | except parse.ParseError: |
249 | print("ERROR: Unable to open or parse '%s'" % bf) | 247 | print("ERROR: Unable to open or parse '%s'" % bf) |
250 | except build.EventException as e: | 248 | except build.FuncFailed as e: |
251 | print("ERROR: Couldn't build '%s'" % name) | 249 | print("ERROR: Couldn't build '%s'" % name) |
252 | last_exception = e | 250 | last_exception = e |
253 | 251 | ||