diff options
author | Peter Kjellerstedt <peter.kjellerstedt@axis.com> | 2017-08-29 22:33:01 +0200 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2021-11-03 15:27:20 +0100 |
commit | 9a2d996efa18395cedfea8e92d5364aab5a7473f (patch) | |
tree | 6033fa0fb55e3a98430651165aff3efc826c0475 /lib/bb/exceptions.py | |
parent | 7150c8286fba6c4b5ab03d3a74f06e068c9c28c8 (diff) | |
download | bitbake-contrib-jansa/1.44.tar.gz |
fetch2: Allow Fetch.download() to warn instead of errorjansa/1.44
Under some situations it can be allowed for Fetch.download() to fail
to fetch a file without causing bitbake to fail. By adding
only_warn=True as argument to Fetch.download(), it will call
logger.warning() instead of logger.error() and thus not cause build
failures.
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'lib/bb/exceptions.py')
0 files changed, 0 insertions, 0 deletions