mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01:00
runqemu: Stop using warn() since its been deprecated
logger.warn() has been deprecated, logger.warning() should be used instead. (From OE-Core rev: 9263497880b3154d65ed713498749f906534a055) Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
2639746ba7
commit
d56c8e4c8a
@@ -648,10 +648,10 @@ to your build configuration.
|
|||||||
elif fsflag == 'kernel-in-fs':
|
elif fsflag == 'kernel-in-fs':
|
||||||
wic_fs = False
|
wic_fs = False
|
||||||
else:
|
else:
|
||||||
logger.warn('Unknown flag "%s:%s" in QB_FSINFO', fstype, fsflag)
|
logger.warning('Unknown flag "%s:%s" in QB_FSINFO', fstype, fsflag)
|
||||||
continue
|
continue
|
||||||
else:
|
else:
|
||||||
logger.warn('QB_FSINFO is not supported for image type "%s"', fstype)
|
logger.warning('QB_FSINFO is not supported for image type "%s"', fstype)
|
||||||
continue
|
continue
|
||||||
|
|
||||||
if fstype in self.fsinfo:
|
if fstype in self.fsinfo:
|
||||||
|
|||||||
Reference in New Issue
Block a user