← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1562731] [NEW] Using LOG.warning replace LOG.warn

 

Public bug reported:

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

** Affects: horizon
     Importance: Undecided
     Assignee: Nguyen Phuong An (annp)
         Status: New

** Changed in: horizon
     Assignee: (unassigned) => Nguyen Phuong An (annp)

-- 
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):
  New

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


Follow ups