From d56c8e4c8a2fc4250d1284354c12b51b80f07949 Mon Sep 17 00:00:00 2001 From: Alejandro Hernandez Samaniego Date: Mon, 26 Jun 2023 15:29:24 +0200 Subject: 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 Signed-off-by: Richard Purdie --- scripts/runqemu | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts') diff --git a/scripts/runqemu b/scripts/runqemu index e1aa5a925c..3f187ca793 100755 --- a/scripts/runqemu +++ b/scripts/runqemu @@ -648,10 +648,10 @@ to your build configuration. elif fsflag == 'kernel-in-fs': wic_fs = False else: - logger.warn('Unknown flag "%s:%s" in QB_FSINFO', fstype, fsflag) + logger.warning('Unknown flag "%s:%s" in QB_FSINFO', fstype, fsflag) continue 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 if fstype in self.fsinfo: -- cgit v1.2.3-54-g00ecf