]> code.ossystems Code Review - openembedded-core.git/commit
logging: use warning instead warn
authorChen Qi <Qi.Chen@windriver.com>
Thu, 19 Jul 2018 05:47:18 +0000 (13:47 +0800)
committerArmin Kuster <akuster808@gmail.com>
Tue, 9 Apr 2019 12:27:17 +0000 (17:57 +0530)
commitcc771aa4b74f222f1bea38b0b50196b2fbc97ab4
treebcf32f06bb4fa9e717d087315ffce16ed262459c
parentb254ab6ce34da3d3241a51958b5770664d317fcc
logging: use warning instead warn

The warn method is deprecated. We should use the documented warning instead.

Quoting from the python's official doc:
"""
Note: There is an obsolete method warn which is functionally identical to warning.
      As warn is deprecated, please do not use it - use warning instead.
"""

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
16 files changed:
meta/lib/oe/terminal.py
meta/lib/oeqa/selftest/context.py
meta/lib/oeqa/utils/qemurunner.py
scripts/combo-layer
scripts/contrib/verify-homepage.py
scripts/lib/devtool/export.py
scripts/lib/devtool/import.py
scripts/lib/devtool/standard.py
scripts/lib/devtool/upgrade.py
scripts/lib/recipetool/append.py
scripts/lib/recipetool/create.py
scripts/lib/recipetool/create_kmod.py
scripts/lib/recipetool/create_npm.py
scripts/lib/recipetool/newappend.py
scripts/lib/wic/engine.py
scripts/runqemu