yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #43838
[Bug 1529913] Re: use warning to avoid DeprecationWarning
Reviewed: https://review.openstack.org/262232
Committed: https://git.openstack.org/cgit/openstack/trove/commit/?id=1ee6814457e454dd86d263563d7cadd15dce3113
Submitter: Jenkins
Branch: master
commit 1ee6814457e454dd86d263563d7cadd15dce3113
Author: LiuNanke <nanke.liu@xxxxxxxxxxxx>
Date: Tue Dec 29 22:45:10 2015 +0800
Using LOG.warning replace LOG.warn
*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: Iae9e13e89bb9566c2482017f631408a95ffe002d
** Changed in: trove
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):
In Progress
Status in OpenStack Identity (keystone):
In Progress
Status in Manila:
New
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