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:08:20 +0100 |
commit | a0ad2a947b71abcc0a1244cf139b9e9dfd8ee049 (patch) | |
tree | 78107c6b762ac4c79ddc9b4edd8d18717a03391f /bin/bitbake-dumpsig | |
parent | 5b96c32dad256090e9bda5af0f80c7dbcc90bde8 (diff) | |
download | bitbake-a0ad2a947b71abcc0a1244cf139b9e9dfd8ee049.zip |
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.
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bin/bitbake-dumpsig')
-rwxr-xr-x | bin/bitbake-dumpsig | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/bitbake-dumpsig b/bin/bitbake-dumpsig index 59740c87..ccbc4125 100755 --- a/bin/bitbake-dumpsig +++ b/bin/bitbake-dumpsig @@ -6,4 +6,6 @@ sys.path.insert(0, os.path.join(os.path.dirname(os.path.dirname(sys.argv[0])), ' import bb.siggen -bb.siggen.dump_sigfile(sys.argv[1]) +output = bb.siggen.dump_sigfile(sys.argv[1]) +if output: + print '\n'.join(output) |