python3.0 has disable LOG.warn

python3.0 has disable LOG.warn.
remove usages.

Change-Id: Iee087af55dc4103d8cd54f83bfb2291a52be050e
Closes-Bug: #1650248
This commit is contained in:
xhzhf 2016-12-15 03:36:36 +08:00
parent b80373a3ed
commit 21f6235716
1 changed files with 1 additions and 1 deletions

View File

@ -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