diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2015-03-18 22:27:36 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-03-19 14:20:14 +0000 |
commit | 0308f3101b93035ebf564a33acb00adaac108033 (patch) | |
tree | ba7bfec80bbec7154b4a568a4182f5a1e01f964b /bitbake | |
parent | 12b6cf0f2212519b14333519746174a5b941f7bf (diff) | |
download | poky-0308f3101b93035ebf564a33acb00adaac108033.tar.gz |
bitbake: knotty.py: fix indent
It used 5 spaces as the indent.
(Bitbake rev: 162d35ed53d34b28b153adf643044e7f105fcff1)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r-- | bitbake/lib/bb/ui/knotty.py | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/bitbake/lib/bb/ui/knotty.py b/bitbake/lib/bb/ui/knotty.py index df0b85416f..2bee242eb0 100644 --- a/bitbake/lib/bb/ui/knotty.py +++ b/bitbake/lib/bb/ui/knotty.py | |||
@@ -537,25 +537,25 @@ def main(server, eventHandler, params, tf = TerminalFilter): | |||
537 | _, error = server.runCommand(["stateForceShutdown"]) | 537 | _, error = server.runCommand(["stateForceShutdown"]) |
538 | main.shutdown = 2 | 538 | main.shutdown = 2 |
539 | try: | 539 | try: |
540 | summary = "" | 540 | summary = "" |
541 | if taskfailures: | 541 | if taskfailures: |
542 | summary += pluralise("\nSummary: %s task failed:", | 542 | summary += pluralise("\nSummary: %s task failed:", |
543 | "\nSummary: %s tasks failed:", len(taskfailures)) | 543 | "\nSummary: %s tasks failed:", len(taskfailures)) |
544 | for failure in taskfailures: | 544 | for failure in taskfailures: |
545 | summary += "\n %s" % failure | 545 | summary += "\n %s" % failure |
546 | if warnings: | 546 | if warnings: |
547 | summary += pluralise("\nSummary: There was %s WARNING message shown.", | 547 | summary += pluralise("\nSummary: There was %s WARNING message shown.", |
548 | "\nSummary: There were %s WARNING messages shown.", warnings) | 548 | "\nSummary: There were %s WARNING messages shown.", warnings) |
549 | if return_value and errors: | 549 | if return_value and errors: |
550 | summary += pluralise("\nSummary: There was %s ERROR message shown, returning a non-zero exit code.", | 550 | summary += pluralise("\nSummary: There was %s ERROR message shown, returning a non-zero exit code.", |
551 | "\nSummary: There were %s ERROR messages shown, returning a non-zero exit code.", errors) | 551 | "\nSummary: There were %s ERROR messages shown, returning a non-zero exit code.", errors) |
552 | if summary: | 552 | if summary: |
553 | print(summary) | 553 | print(summary) |
554 | 554 | ||
555 | if interrupted: | 555 | if interrupted: |
556 | print("Execution was interrupted, returning a non-zero exit code.") | 556 | print("Execution was interrupted, returning a non-zero exit code.") |
557 | if return_value == 0: | 557 | if return_value == 0: |
558 | return_value = 1 | 558 | return_value = 1 |
559 | except IOError as e: | 559 | except IOError as e: |
560 | import errno | 560 | import errno |
561 | if e.errno == errno.EPIPE: | 561 | if e.errno == errno.EPIPE: |