Reviewed: https://review.openstack.org/263264 Committed: https://git.openstack.org/cgit/openstack/openstack-ansible/commit/?id=c92954ee9d3ccc28e94c0d824bf6ec0e34e56916 Submitter: Jenkins Branch: master
commit c92954ee9d3ccc28e94c0d824bf6ec0e34e56916 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
Reviewed: https:/ /review. openstack. org/263264 /git.openstack. org/cgit/ openstack/ openstack- ansible/ commit/ ?id=c92954ee9d3 ccc28e94c0d824b f6ec0e34e56916
Committed: https:/
Submitter: Jenkins
Branch: master
commit c92954ee9d3ccc2 8e94c0d824bf6ec 0e34e56916 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
Closes-Bug: #1530742