diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-09-02 23:12:42 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-09-05 11:45:16 +0100 |
commit | 16f820a2a82c12184e7ea0734a61c45a22e82530 (patch) | |
tree | a771cd8ac14e8e02665244b3aeabe34c0bbf31f1 /meta-selftest/classes | |
parent | 4cb33dae15adb7f88a35a3630368db16923bca7e (diff) | |
download | poky-16f820a2a82c12184e7ea0734a61c45a22e82530.tar.gz |
bitbake: cooker/cookerdata: Use BBHandledException, not sys.exit()
Calling sys.exit() in the middle of the code is rather antisocial. We catch
this in various places but we shouldn't have to. In all these cases we have
already sent events explaining to the user what happened. This means the
correct exception is BBHandledException.
The recent startup changes have moved the point a lot of this code gets
called to inside the UI, with memres it would have always been possible
from there anyway. This change makes things much more consistent.
(Bitbake rev: 91699f366d24480ff3b19faec78fb9f3181b3e14)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta-selftest/classes')
0 files changed, 0 insertions, 0 deletions