← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1529913] Re: use warning to avoid DeprecationWarning

 

*** This bug is a duplicate of bug 1508442 ***
    https://bugs.launchpad.net/bugs/1508442

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

commit a566ba7713077c4f34531444cb810f3c9b88af0c
Author: LiuNanke <nanke.liu@xxxxxxxxxxxx>
Date:   Tue Dec 29 12:39:36 2015 +0800

    Python 3 deprecated the logger.warn method in favor of warning
    
    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.
    
    Closes-Bug: #1529913
    
    Change-Id: Ief1ebbbc8198d2d7a01a5ec41b61d8b6d466da1f


** 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 Compute (nova).
https://bugs.launchpad.net/bugs/1529913

Title:
  use warning to avoid DeprecationWarning

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

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