Public bug reported:

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.

** Affects: glance
     Importance: Undecided
     Assignee: LiuNanke (nanke-liu)
         Status: In Progress

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

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

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

Title:
  use warning to avoid DeprecationWarning

Status in Glance:
  In Progress

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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to