summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxhzhf <guoyongxhzhf@163.com>2016-12-15 03:36:36 +0800
committerxhzhf <guoyongxhzhf@163.com>2016-12-15 03:38:57 +0800
commit21f6235716e7b98eca4f2d13c56c48ff3c031d64 (patch)
tree066f9603cb95a25f6fe4e97154082671e440fee8
parentb80373a3edc5ada6e5fbd7676a8b1c7593a9531a (diff)
downloaddjango_openstack_auth-21f6235716e7b98eca4f2d13c56c48ff3c031d64.tar.gz
python3.0 has disable LOG.warn
python3.0 has disable LOG.warn. remove usages. Change-Id: Iee087af55dc4103d8cd54f83bfb2291a52be050e Closes-Bug: #1650248
-rw-r--r--openstack_auth/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/openstack_auth/views.py b/openstack_auth/views.py
index 919cc37..8831403 100644
--- a/openstack_auth/views.py
+++ b/openstack_auth/views.py
@@ -166,7 +166,7 @@ def logout(request, login_url=None, **kwargs):
def delete_token(endpoint, token_id):
"""Delete a token."""
- LOG.warn("The delete_token method is deprecated and now does nothing")
+ LOG.warning("The delete_token method is deprecated and now does nothing")
@login_required