diff options
author | Frazer Clews <frazer.clews@codethink.co.uk> | 2020-01-14 14:46:06 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-02-06 22:49:10 +0000 |
commit | a194f275235f22411cb2368f06a44f61ceb6a0f3 (patch) | |
tree | f223e1d2a2d5d4de7a9f2f256902f5fc4c9ac7c1 /lib/bb/cooker.py | |
parent | ba205df20b6a07a4b1125332601c6c54c7b019b5 (diff) | |
download | bitbake-a194f275235f22411cb2368f06a44f61ceb6a0f3.tar.gz |
cooker/toaster: replaced deprecated method warn() with warning()
Removed the deprecated methods as it will only cause problems later on,
and since warn() just calls warning(), it shouldn't change anything
Signed-off-by: Frazer Clews <frazer.clews@codethink.co.uk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/bb/cooker.py')
-rw-r--r-- | lib/bb/cooker.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bb/cooker.py b/lib/bb/cooker.py index 8407db8b0..112433218 100644 --- a/lib/bb/cooker.py +++ b/lib/bb/cooker.py @@ -1784,7 +1784,7 @@ class CookerCollectFiles(object): # When constructing an older style single regex, it's possible for BBMASK # to end up beginning with '|', which matches and masks _everything_. if mask.startswith("|"): - collectlog.warn("BBMASK contains regular expression beginning with '|', fixing: %s" % mask) + collectlog.warning("BBMASK contains regular expression beginning with '|', fixing: %s" % mask) mask = mask[1:] try: re.compile(mask) |