Reviewed: https://review.openstack.org/263250 Committed: https://git.openstack.org/cgit/openstack/cloudpulse/commit/?id=f274731dfa4a329aaf06f84f1de994da9526d7f4 Submitter: Jenkins Branch: master
commit f274731dfa4a329aaf06f84f1de994da9526d7f4 Author: zhangguoqing <zhang.guoqing@99cloud.net> Date: Mon Jan 4 13:17:26 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: I6e925af4568062fa294e0f1c67b506cd06671bd6 Closes-Bug: #1530742
Reviewed: https:/ /review. openstack. org/263250 /git.openstack. org/cgit/ openstack/ cloudpulse/ commit/ ?id=f274731dfa4 a329aaf06f84f1d e994da9526d7f4
Committed: https:/
Submitter: Jenkins
Branch: master
commit f274731dfa4a329 aaf06f84f1de994 da9526d7f4 guoqing@ 99cloud. net>
Author: zhangguoqing <zhang.
Date: Mon Jan 4 13:17:26 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: I6e925af4568062 fa294e0f1c67b50 6cd06671bd6
Closes-Bug: #1530742