← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1529913] Re: use warning to avoid DeprecationWarning

 

** Also affects: horizon
   Importance: Undecided
       Status: New

** Changed in: horizon
     Assignee: (unassigned) => LiuNanke (nanke-liu)

** Changed in: horizon
       Status: New => In Progress

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

Title:
  use warning to avoid DeprecationWarning

Status in Glance:
  In Progress
Status in OpenStack Dashboard (Horizon):
  In Progress
Status in OpenStack Identity (keystone):
  New
Status in Manila:
  New
Status in OpenStack Compute (nova):
  New

Bug description:
  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.

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


References