Reviewed: https://review.openstack.org/263239 Committed: https://git.openstack.org/cgit/openstack/ceilometer-powervm/commit/?id=936773daa14254cda2191ad1accb81f04933a2dd Submitter: Jenkins Branch: master
commit 936773daa14254cda2191ad1accb81f04933a2dd Author: zhangguoqing <zhang.guoqing@99cloud.net> Date: Mon Jan 4 12:53:50 2016 +0000
Change LOG.warn to LOG.warning
Python 3 deprecated the logger.warn method, see: https://docs.python.org/3/library/logging.html#logging.warning so we prefer to use warning to avoid DeprecationWarning.
Change-Id: I2d71a52f6c86bc2def2c3abd0750236a86ccc6cf Closes-Bug: #1530742
Reviewed: https:/ /review. openstack. org/263239 /git.openstack. org/cgit/ openstack/ ceilometer- powervm/ commit/ ?id=936773daa14 254cda2191ad1ac cb81f04933a2dd
Committed: https:/
Submitter: Jenkins
Branch: master
commit 936773daa14254c da2191ad1accb81 f04933a2dd guoqing@ 99cloud. net>
Author: zhangguoqing <zhang.
Date: Mon Jan 4 12:53:50 2016 +0000
Change LOG.warn to LOG.warning
Python 3 deprecated the logger.warn method, see: /docs.python. org/3/library/ logging. html#logging. warning
https:/
so we prefer to use warning to avoid DeprecationWarning.
Change-Id: I2d71a52f6c86bc 2def2c3abd07502 36a86ccc6cf
Closes-Bug: #1530742