← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1562731] Re: Using LOG.warning replace LOG.warn

 

Reviewed:  https://review.openstack.org/298168
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=d6491516d9e21052526fa069575740acc2f19257
Submitter: Jenkins
Branch:    master

commit d6491516d9e21052526fa069575740acc2f19257
Author: Nguyen Phuong An <AnNP@xxxxxxxxxxxxxx>
Date:   Mon Mar 28 16:23:43 2016 +0700

    Using LOG.warning replace LOG.warn
    
    This patch replaces LOG.warn by LOG.warning on
    https://github.com/openstack/horizon/blob/master/openstack_dashboard/api/keystone.py#L222
    to avoid DeprecationWarning.
    
    Change-Id: I8cd9ea6778b356c3b1f4e0c6e95feb096792c58d
    Closes-Bug: #1562731


** Changed in: horizon
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1562731

Title:
  Using LOG.warning replace LOG.warn

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  Python 3 deprecated the logger.warn method, see:
  https://docs.python.org/3/library/logging.html#logging.warning
  so I prefer to use warning to avoid DeprecationWarning on 
  https://github.com/openstack/horizon/blob/master/openstack_dashboard/api/keystone.py#L222

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1562731/+subscriptions


References