]> code.ossystems Code Review - openembedded-core.git/commit
recipetool: create: fix for regression in npm license handling
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Wed, 12 Apr 2017 10:41:26 +0000 (22:41 +1200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 12 Apr 2017 21:16:55 +0000 (22:16 +0100)
commitabe2955df2dc558de6068d9373dfcb47d690704b
tree8df37a3d54224baea3ab7ef62ff8bcc23e92e39f
parentc8749ed1edcbb544f6656ee5da80f2cf647c405a
recipetool: create: fix for regression in npm license handling

OE-Core commit c0cfd9b1d54b05ad048f444d6fe248aa0500159e added handling
for AND / OR in license strings coming from npm, but made the assumption
that an & would always be present in the license value. Check if it's
there first so we don't fail if it isn't.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/lib/recipetool/create_npm.py