summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/cooker.py
diff options
context:
space:
mode:
authorFrazer Clews <frazer.clews@codethink.co.uk>2020-01-14 14:46:06 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-02-11 23:02:13 +0000
commit4f8e5ec3930a09528adff0afe1ed869c15d0dfb0 (patch)
tree4e5380bdb9a2bf6b0e9bf378a5f57301b688ac18 /bitbake/lib/bb/cooker.py
parent64d62e5d48014af963967e4b5b24553853cb6df3 (diff)
downloadpoky-4f8e5ec3930a09528adff0afe1ed869c15d0dfb0.tar.gz
bitbake: 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 (Bitbake rev: c131015f1ac152f1fea4b83a3d451c3e4d05ebec) Signed-off-by: Frazer Clews <frazer.clews@codethink.co.uk> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit a194f275235f22411cb2368f06a44f61ceb6a0f3) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/cooker.py')
-rw-r--r--bitbake/lib/bb/cooker.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py
index b74affa7ec..911805a6e3 100644
--- a/bitbake/lib/bb/cooker.py
+++ b/bitbake/lib/bb/cooker.py
@@ -1788,7 +1788,7 @@ class CookerCollectFiles(object):
1788 # When constructing an older style single regex, it's possible for BBMASK 1788 # When constructing an older style single regex, it's possible for BBMASK
1789 # to end up beginning with '|', which matches and masks _everything_. 1789 # to end up beginning with '|', which matches and masks _everything_.
1790 if mask.startswith("|"): 1790 if mask.startswith("|"):
1791 collectlog.warn("BBMASK contains regular expression beginning with '|', fixing: %s" % mask) 1791 collectlog.warning("BBMASK contains regular expression beginning with '|', fixing: %s" % mask)
1792 mask = mask[1:] 1792 mask = mask[1:]
1793 try: 1793 try:
1794 re.compile(mask) 1794 re.compile(mask)