Reviewed: https://review.openstack.org/263269 Committed: https://git.openstack.org/cgit/openstack/python-cloudpulseclient/commit/?id=e72c9d5ef8883f93ca02f662f11525e5320e6aab Submitter: Jenkins Branch: master
commit e72c9d5ef8883f93ca02f662f11525e5320e6aab Author: zhangguoqing <zhang.guoqing@99cloud.net> Date: Mon Jan 4 14:05:29 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: I6916a95800f003e96736c7e8fe45f3cfe242d983 Closes-Bug: #1530742
Reviewed: https:/ /review. openstack. org/263269 /git.openstack. org/cgit/ openstack/ python- cloudpulseclien t/commit/ ?id=e72c9d5ef88 83f93ca02f662f1 1525e5320e6aab
Committed: https:/
Submitter: Jenkins
Branch: master
commit e72c9d5ef8883f9 3ca02f662f11525 e5320e6aab guoqing@ 99cloud. net>
Author: zhangguoqing <zhang.
Date: Mon Jan 4 14:05:29 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: I6916a95800f003 e96736c7e8fe45f 3cfe242d983
Closes-Bug: #1530742