Comment 194 for bug 1508442

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to designate (master)

Reviewed: https://review.openstack.org/558634
Committed: https://git.openstack.org/cgit/openstack/designate/commit/?id=8bc3693c19960a2105d53ec1e956fa03b12e2a50
Submitter: Zuul
Branch: master

commit 8bc3693c19960a2105d53ec1e956fa03b12e2a50
Author: Erik Olof Gunnar Andersson <email address hidden>
Date: Tue Apr 3 14:28:01 2018 -0700

    Replace deprecated LOG.warn with LOG.warning

    LOG.warn is deprecated in Python 3 [1] . But it still used in a few places, non-deprecated LOG.warning should be used instead.

    Note: If we are using logger from oslo.log, warn is still valid [2], but I agree we can switch to LOG.warning.

    [1]https://docs.python.org/3/library/logging.html#logging.warning
    [2]https://github.com/openstack/oslo.log/blob/master/oslo_log/log.py#L85

    Change-Id: Ibbcc287815cbc06162a13448c2dabcb0748e4e32
    Closes-Bug: #1508442