diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2012-08-27 21:44:34 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-09-07 12:10:44 +0100 |
commit | d5226c96d3c64bcfa8922327594663352703a8a8 (patch) | |
tree | cdf675fea864f33cc939be42753ca9e3d71e4c6e /bitbake/bin/bitbake-dumpsig | |
parent | 19d0abe14cd6590dc7a9d81f88c18833e1b35a1b (diff) | |
download | poky-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-dumpsig')
-rwxr-xr-x | bitbake/bin/bitbake-dumpsig | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bitbake/bin/bitbake-dumpsig b/bitbake/bin/bitbake-dumpsig index 59740c87c9..ccbc412583 100755 --- a/bitbake/bin/bitbake-dumpsig +++ b/bitbake/bin/bitbake-dumpsig | |||
@@ -6,4 +6,6 @@ sys.path.insert(0, os.path.join(os.path.dirname(os.path.dirname(sys.argv[0])), ' | |||
6 | 6 | ||
7 | import bb.siggen | 7 | import bb.siggen |
8 | 8 | ||
9 | bb.siggen.dump_sigfile(sys.argv[1]) | 9 | output = bb.siggen.dump_sigfile(sys.argv[1]) |
10 | if output: | ||
11 | print '\n'.join(output) | ||