diff options
Diffstat (limited to 'bitbake/lib/bb/ui/taskexp.py')
| -rw-r--r-- | bitbake/lib/bb/ui/taskexp.py | 20 |
1 files changed, 2 insertions, 18 deletions
diff --git a/bitbake/lib/bb/ui/taskexp.py b/bitbake/lib/bb/ui/taskexp.py index 9d14ecefaf..0d0f9f5a40 100644 --- a/bitbake/lib/bb/ui/taskexp.py +++ b/bitbake/lib/bb/ui/taskexp.py | |||
| @@ -286,23 +286,7 @@ def main(server, eventHandler, params): | |||
| 286 | continue | 286 | continue |
| 287 | 287 | ||
| 288 | if isinstance(event, bb.event.NoProvider): | 288 | if isinstance(event, bb.event.NoProvider): |
| 289 | if event._runtime: | 289 | print(str(event)) |
| 290 | r = "R" | ||
| 291 | else: | ||
| 292 | r = "" | ||
| 293 | |||
| 294 | extra = '' | ||
| 295 | if not event._reasons: | ||
| 296 | if event._close_matches: | ||
| 297 | extra = ". Close matches:\n %s" % '\n '.join(event._close_matches) | ||
| 298 | |||
| 299 | if event._dependees: | ||
| 300 | print("Nothing %sPROVIDES '%s' (but %s %sDEPENDS on or otherwise requires it)%s" % (r, event._item, ", ".join(event._dependees), r, extra)) | ||
| 301 | else: | ||
| 302 | print("Nothing %sPROVIDES '%s'%s" % (r, event._item, extra)) | ||
| 303 | if event._reasons: | ||
| 304 | for reason in event._reasons: | ||
| 305 | print(reason) | ||
| 306 | 290 | ||
| 307 | _, error = server.runCommand(["stateShutdown"]) | 291 | _, error = server.runCommand(["stateShutdown"]) |
| 308 | if error: | 292 | if error: |
| @@ -310,7 +294,7 @@ def main(server, eventHandler, params): | |||
| 310 | break | 294 | break |
| 311 | 295 | ||
| 312 | if isinstance(event, bb.command.CommandFailed): | 296 | if isinstance(event, bb.command.CommandFailed): |
| 313 | print("Command execution failed: %s" % event.error) | 297 | print(str(event)) |
| 314 | return event.exitcode | 298 | return event.exitcode |
| 315 | 299 | ||
| 316 | if isinstance(event, bb.command.CommandExit): | 300 | if isinstance(event, bb.command.CommandExit): |
