]> 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)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 26 Jul 2018 12:16:31 +0000 (13:16 +0100)
commitf467fd277eb77336097cfc0f5f329bdc8d0f70cb
treea085c4c09c2fbcd553318c7cb31211add3dbda23
parentfcf45459bc32d833740e3bb237ea0b8f8845f308
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>
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