summaryrefslogtreecommitdiffstats
path: root/bitbake/bin/bitbake-diffsigs
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2012-08-27 21:44:34 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-09-07 12:10:44 +0100
commitd5226c96d3c64bcfa8922327594663352703a8a8 (patch)
treecdf675fea864f33cc939be42753ca9e3d71e4c6e /bitbake/bin/bitbake-diffsigs
parent19d0abe14cd6590dc7a9d81f88c18833e1b35a1b (diff)
downloadpoky-d5226c96d3c64bcfa8922327594663352703a8a8.tar.gz
bitbake: lib/bb/siggen.py: make signature dump/compare functions return a list
These functions become a little bit more reusable if they return a list containing the output rather than just printing it. (Bitbake rev: a0ad2a947b71abcc0a1244cf139b9e9dfd8ee049) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/bin/bitbake-diffsigs')
-rwxr-xr-xbitbake/bin/bitbake-diffsigs7
1 files changed, 5 insertions, 2 deletions
diff --git a/bitbake/bin/bitbake-diffsigs b/bitbake/bin/bitbake-diffsigs
index 5eb77ce59d..146cab8119 100755
--- a/bitbake/bin/bitbake-diffsigs
+++ b/bitbake/bin/bitbake-diffsigs
@@ -7,6 +7,9 @@ sys.path.insert(0, os.path.join(os.path.dirname(os.path.dirname(sys.argv[0])), '
7import bb.siggen 7import bb.siggen
8 8
9if len(sys.argv) > 2: 9if len(sys.argv) > 2:
10 bb.siggen.compare_sigfiles(sys.argv[1], sys.argv[2]) 10 output = bb.siggen.compare_sigfiles(sys.argv[1], sys.argv[2])
11else: 11else:
12 bb.siggen.dump_sigfile(sys.argv[1]) 12 output = bb.siggen.dump_sigfile(sys.argv[1])
13
14if output:
15 print '\n'.join(output)