Reviewed: https://review.openstack.org/263107 Committed: https://git.openstack.org/cgit/openstack/gnocchi/commit/?id=c365c1db3bae0822cc8b000ca53a087927e321b6 Submitter: Jenkins Branch: master
commit c365c1db3bae0822cc8b000ca53a087927e321b6 Author: zhangguoqing <zhang.guoqing@99cloud.net> Date: Mon Jan 4 04:23:28 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: I932a82be1e0f88bb1e333a9a7c3fc5bf87fa9e79 Closes-Bug: #1530742
Reviewed: https:/ /review. openstack. org/263107 /git.openstack. org/cgit/ openstack/ gnocchi/ commit/ ?id=c365c1db3ba e0822cc8b000ca5 3a087927e321b6
Committed: https:/
Submitter: Jenkins
Branch: master
commit c365c1db3bae082 2cc8b000ca53a08 7927e321b6 guoqing@ 99cloud. net>
Author: zhangguoqing <zhang.
Date: Mon Jan 4 04:23:28 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: I932a82be1e0f88 bb1e333a9a7c3fc 5bf87fa9e79
Closes-Bug: #1530742