Files
poky/meta/recipes-devtools
Ulf Magnusson 575ee2d19e cmake: Use bb.fatal() instead of raising FuncFailed
This sets a good example and avoids unnecessarily contributing to
perceived complexity and cargo culting.

Motivating quote below:

< kergoth> the *original* intent was for the function/task to error via
           whatever appropriate means, bb.fatal, whatever, and
           funcfailed was what you'd catch if you were calling
           exec_func/exec_task. that is, it's what those functions
           raise, not what metadata functions should be raising
< kergoth> it didn't end up being used that way
< kergoth> but there's really never a reason to raise it yourself

FuncFailed.__init__ takes a 'name' argument rather than a 'msg'
argument, which also shows that the original purpose got lost.

(From OE-Core rev: ff310dd103e16a5345a4bb48090af05f50171de3)

Signed-off-by: Ulf Magnusson <ulfalizer@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-10-04 16:29:05 +01:00
..
2016-09-14 22:22:07 +01:00
2016-09-03 09:58:37 +01:00
2016-07-26 08:56:26 +01:00
2016-02-19 01:01:24 +00:00
2016-06-12 23:47:18 +01:00
2016-07-08 09:57:24 +01:00
2016-09-08 00:32:43 +01:00
2016-09-03 23:45:52 +01:00
2016-08-25 23:03:45 +01:00
2016-08-10 10:46:29 +01:00
2015-12-18 12:18:19 +00:00
2016-07-08 09:57:24 +01:00
2016-05-25 07:50:17 +01:00
2016-06-15 08:35:00 +01:00
2016-07-12 23:10:14 +01:00
2016-08-25 23:03:45 +01:00
2016-07-20 10:28:49 +01:00
2016-06-07 15:22:37 +01:00
2016-09-09 12:12:22 +01:00
2016-09-15 12:15:07 +01:00
2016-06-15 08:35:03 +01:00
2016-09-28 10:16:03 +01:00
2016-09-14 22:22:07 +01:00
2016-08-25 23:03:45 +01:00
2016-06-03 13:13:27 +01:00
2016-07-01 16:22:43 +01:00
2016-08-04 15:22:23 +01:00
2015-12-16 12:12:15 +00:00
2016-09-14 22:22:07 +01:00
2015-06-11 23:59:15 +01:00