]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
recipetool: create: avoid extra blank lines in output recipe
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Mon, 5 Sep 2016 23:24:44 +0000 (11:24 +1200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 7 Sep 2016 23:36:43 +0000 (00:36 +0100)
commitcbebc9a2edf7d7a422ee5c71219e79e3b349de3b
tree62df4a6d4c848b85df9bd41e10ee029d61844dfc
parent4fb8b399c05a1b66986fc76e13525f6c5e0d9b58
recipetool: create: avoid extra blank lines in output recipe

If we output extra blank lines (because of some automated editing) then
it makes the output recipe look a bit untidy. You could argue that we
should simply have the editing code not do that, but sometimes we don't
have enough context there for that to be practical. It's simple enough
to just filter out the extra blank lines when writing the file, so just
do it that way.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
scripts/lib/recipetool/create.py