mirror of
https://git.yoctoproject.org/poky
synced 2026-09-13 09:49:32 +02:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
64d62e5d48
commit
4f8e5ec393
@@ -1788,7 +1788,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)
|
||||
|
||||
Reference in New Issue
Block a user