Ulf Magnusson
823acf8037
systemd.bbclass: 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: 8e956d66087b9c41591b8e4e817ed6c9e42f5981)
Signed-off-by: Ulf Magnusson <ulfalizer@gmail.com >
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org >
2016-10-04 16:29:04 +01:00
..
2016-10-01 21:45:57 +01:00
2016-09-28 10:16:03 +01:00
2016-09-28 10:16:02 +01:00
2016-10-04 16:29:04 +01:00
2016-08-25 23:03:45 +01:00
2016-08-10 10:46:32 +01:00
2016-07-12 23:10:16 +01:00
2016-10-01 21:45:56 +01:00
2016-08-17 10:35:40 +01:00
2016-08-10 10:46:33 +01:00
2016-09-08 00:32:43 +01:00
2016-08-04 15:22:22 +01:00
2016-05-11 10:33:43 +01:00
2016-09-30 16:51:15 +01:00
2016-10-04 16:29:04 +01:00
2016-09-16 15:24:02 +01:00
2016-07-08 09:57:23 +01:00
2016-05-19 22:32:07 +01:00
2016-06-01 12:38:41 +01:00
2016-06-01 12:38:41 +01:00
2016-09-03 09:58:40 +01:00
2016-06-01 12:38:41 +01:00
2016-06-01 12:38:41 +01:00
2016-09-20 15:11:08 +01:00
2016-04-09 23:00:45 +01:00
2016-03-28 15:55:49 +01:00
2016-09-14 22:22:08 +01:00
2016-07-01 16:22:42 +01:00
2016-10-04 16:29:04 +01:00
2016-09-14 22:22:08 +01:00
2016-06-12 23:47:18 +01:00
2016-10-04 16:29:04 +01:00
2016-09-04 00:07:28 +01:00
2016-09-28 10:16:04 +01:00
2016-10-01 21:45:55 +01:00
2016-09-04 00:07:28 +01:00
2016-09-04 00:07:28 +01:00
2016-09-15 12:15:07 +01:00
2016-09-16 15:24:02 +01:00
2016-08-10 10:46:33 +01:00
2016-05-30 15:58:11 +01:00
2016-09-09 11:53:36 +01:00
2016-07-26 08:56:30 +01:00
2016-09-14 22:22:12 +01:00
2016-09-21 21:58:05 +01:00
2016-05-13 13:41:30 +01:00
2016-07-12 23:10:13 +01:00
2016-10-04 16:29:04 +01:00
2016-03-31 23:01:37 +01:00
2016-05-11 10:33:42 +01:00
2016-05-30 15:58:13 +01:00
2016-09-09 11:53:36 +01:00
2016-08-04 15:22:22 +01:00
2016-10-01 21:45:56 +01:00
2016-04-01 07:14:30 +01:00
2016-10-04 16:29:04 +01:00
2016-10-01 21:45:57 +01:00
2016-05-30 15:58:11 +01:00
2016-09-08 00:36:49 +01:00
2016-05-16 09:31:23 +01:00
2016-10-04 16:29:04 +01:00
2016-10-04 16:29:04 +01:00
2016-10-04 16:29:04 +01:00
2016-09-14 22:22:07 +01:00
2016-08-20 16:06:04 +01:00
2016-05-11 10:33:43 +01:00
2016-09-03 23:45:52 +01:00
2016-09-28 10:16:04 +01:00
2016-09-14 22:22:12 +01:00
2016-06-01 12:38:41 +01:00
2016-07-01 16:22:43 +01:00
2016-06-01 12:38:41 +01:00
2016-07-01 16:22:43 +01:00
2016-09-24 07:30:10 +01:00
2016-09-30 16:51:15 +01:00
2016-09-14 22:22:07 +01:00
2016-08-17 10:23:43 +01:00
2016-08-23 17:44:41 +01:00
2016-08-12 15:25:22 +01:00
2016-09-04 00:07:28 +01:00
2016-09-16 15:24:03 +01:00
2016-09-24 07:30:10 +01:00
2016-09-22 11:13:24 +01:00
2016-10-01 21:45:56 +01:00
2016-09-16 15:24:02 +01:00
2016-06-15 08:35:01 +01:00
2016-10-04 16:29:04 +01:00
2016-10-04 16:29:04 +01:00
2016-10-04 16:29:04 +01:00
2016-06-02 08:24:00 +01:00
2016-08-04 15:22:22 +01:00
2016-09-23 14:56:39 +01:00
2016-07-08 09:57:23 +01:00
2016-05-16 09:31:23 +01:00
2016-09-04 00:07:29 +01:00
2016-09-23 14:56:39 +01:00
2016-09-23 14:56:39 +01:00
2016-07-01 16:22:40 +01:00
2016-08-10 10:46:33 +01:00
2016-03-31 09:15:03 +01:00
2016-05-11 10:33:42 +01:00
2016-10-04 16:29:04 +01:00
2016-09-16 15:24:03 +01:00
2016-10-04 16:29:04 +01:00
2016-09-14 22:22:07 +01:00
2016-05-21 22:26:33 +01:00
2016-09-28 10:16:03 +01:00