diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2019-04-17 19:01:49 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-04-23 16:52:30 +0100 |
commit | 5127a8d8e6d53f5f43a6ada7fd09b6b0c24ae989 (patch) | |
tree | 29a6473dc09ea01a07210d0c06975b77bac65019 | |
parent | 7dbcab1a0dd9d9e13f968e0b4d78deb2adcc4c23 (diff) | |
download | bitbake-5127a8d8e6d53f5f43a6ada7fd09b6b0c24ae989.tar.gz |
bitbake-diffsigs: Use 4 spaces as indent for recursecb
It used 2 spaces as indent which wasn't clear enough, and might cause
confusions, people might think it was in wrong format.
Fixed:
$ bitbake bc-native -ccleansstate -Snone
$ bitbake bc-native -ccleansstate -Snone
$ bitbake-diffsigs tmp/stamps/x86_64-linux/bc-native/1.07.1-r0.do_cleansstate.sigdata.*
* Before:
Hash for dependent task bc/bc_1.07.1.bb.do_clean:virtual:native changed from [foo]
Taint (by forced/invalidated task) changed from [foo]
Taint (by forced/invalidated task) changed from [foo]
* Now
Hash for dependent task bc/bc_1.07.1.bb.do_clean:virtual:native changed from [foo]
Taint (by forced/invalidated task) changed from [foo]
Taint (by forced/invalidated task) changed from [foo]
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rwxr-xr-x | bin/bitbake-diffsigs | 2 | ||||
-rw-r--r-- | lib/bb/runqueue.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/bin/bitbake-diffsigs b/bin/bitbake-diffsigs index fa430bb3b..73229b773 100755 --- a/bin/bitbake-diffsigs +++ b/bin/bitbake-diffsigs @@ -105,7 +105,7 @@ def recursecb(key, hash1, hash2): out2 = bb.siggen.compare_sigfiles(hashfiles[hash1], hashfiles[hash2], recursecb, color=color) for change in out2: for line in change.splitlines(): - recout.append(' ' + line) + recout.append(' ' + line) return recout diff --git a/lib/bb/runqueue.py b/lib/bb/runqueue.py index 329cda33a..524c85d7d 100644 --- a/lib/bb/runqueue.py +++ b/lib/bb/runqueue.py @@ -1667,7 +1667,7 @@ class RunQueue: recout = [] if len(hashfiles) == 2: out2 = bb.siggen.compare_sigfiles(hashfiles[hash1], hashfiles[hash2], recursecb) - recout.extend(list(' ' + l for l in out2)) + recout.extend(list(' ' + l for l in out2)) else: recout.append("Unable to find matching sigdata for %s with hashes %s or %s" % (key, hash1, hash2)) |