diff options
Diffstat (limited to 'bitbake/lib/bb/ui/knotty.py')
| -rw-r--r-- | bitbake/lib/bb/ui/knotty.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/ui/knotty.py b/bitbake/lib/bb/ui/knotty.py index 5366386b20..205a8d8f39 100644 --- a/bitbake/lib/bb/ui/knotty.py +++ b/bitbake/lib/bb/ui/knotty.py | |||
| @@ -142,7 +142,7 @@ def main(server, eventHandler): | |||
| 142 | logfile = event.logfile | 142 | logfile = event.logfile |
| 143 | if logfile and os.path.exists(logfile): | 143 | if logfile and os.path.exists(logfile): |
| 144 | print("ERROR: Logfile of failure stored in: %s" % logfile) | 144 | print("ERROR: Logfile of failure stored in: %s" % logfile) |
| 145 | if 1 or includelogs: | 145 | if includelogs and not event.errprinted: |
| 146 | print("Log data follows:") | 146 | print("Log data follows:") |
| 147 | f = open(logfile, "r") | 147 | f = open(logfile, "r") |
| 148 | lines = [] | 148 | lines = [] |
