logger.warn() has been deprecated, logger.warning() should be used instead.

Signed-off-by: Alejandro Enedino Hernandez Samaniego <[email protected]>
---
 scripts/runqemu | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/scripts/runqemu b/scripts/runqemu
index 62774a3b98..6a3fbb2d6f 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:
-- 
2.34.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#183367): 
https://lists.openembedded.org/g/openembedded-core/message/183367
Mute This Topic: https://lists.openembedded.org/mt/99764748/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to