Reviewed: https://review.openstack.org/264099 Committed: https://git.openstack.org/cgit/openstack/openstack-ansible/commit/?id=9ce9291ab30854e822fa0fc8654186e993fa5d4f Submitter: Jenkins Branch: liberty
commit 9ce9291ab30854e822fa0fc8654186e993fa5d4f Author: zhangguoqing <zhang.guoqing@99cloud.net> Date: Mon Jan 4 13:53:13 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: I9a99477f3f41884e86c984ffde9f46498953e933 Closes-Bug: #1530742 (cherry picked from commit c92954ee9d3ccc28e94c0d824bf6ec0e34e56916)
Reviewed: https:/ /review. openstack. org/264099 /git.openstack. org/cgit/ openstack/ openstack- ansible/ commit/ ?id=9ce9291ab30 854e822fa0fc865 4186e993fa5d4f
Committed: https:/
Submitter: Jenkins
Branch: liberty
commit 9ce9291ab30854e 822fa0fc8654186 e993fa5d4f guoqing@ 99cloud. net>
Author: zhangguoqing <zhang.
Date: Mon Jan 4 13:53:13 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: I9a99477f3f4188 4e86c984ffde9f4 6498953e933 8e94c0d824bf6ec 0e34e56916)
Closes-Bug: #1530742
(cherry picked from commit c92954ee9d3ccc2