license.bbclass: cleanly handle invalid licenses in incompatible_license
authorChristopher Larson <chris_larson@mentor.com>
Tue, 15 Jan 2013 20:22:48 +0000 (13:22 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 18 Jan 2013 13:28:05 +0000 (13:28 +0000)
commit5791dd2b3bc907e20c3a662361fc27092faad2db
tree03cd7c8e19ee04f4a863690c762e1b38ec3b31a2
parentd5115bd8a40ffcd5a6fd97f4bf7bf4d5c1ffc7e5
license.bbclass: cleanly handle invalid licenses in incompatible_license

This gives us an error message (bb.fatal) rather than a traceback due to the
uncaught LicenseError.

(From OE-Core rev: 7fab4cd27a2ad896218123ca82252e2b59526726)

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/license.bbclass