]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
recipetool: create: avoid extra blank lines in output recipe paule/devtool20-oe
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Mon, 5 Sep 2016 23:24:44 +0000 (11:24 +1200)
committerPaul Eggleton <paul.eggleton@linux.intel.com>
Wed, 7 Sep 2016 20:48:51 +0000 (08:48 +1200)
commit98da4211ed1f1379e84b783eb2f3b535c4bb2f34
treeaeb68394ea9c21bb7c5c24746aabcb28d9dead67
parent54ce2a7cf5d69509c670268e36efe374f6131c47
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