summaryrefslogtreecommitdiff
path: root/oauthlib
diff options
context:
space:
mode:
authorJonathan Huot <jonathan.huot@thomsonreuters.com>2019-02-21 10:01:29 +0100
committerJonathan Huot <jonathan.huot@thomsonreuters.com>2019-02-21 10:01:29 +0100
commit58f1c3fe4020d13d4c2f7b80902b2c157fde807d (patch)
tree883ce4089c7dda1a7624e3d9cd59cbc9234ebb33 /oauthlib
parent8c9f0a3cee9fab35fdf7269441daab666b931f59 (diff)
downloadoauthlib-58f1c3fe4020d13d4c2f7b80902b2c157fde807d.tar.gz
Add clarity to the deprecation warning
Diffstat (limited to 'oauthlib')
-rw-r--r--oauthlib/oauth2/rfc6749/tokens.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/oauthlib/oauth2/rfc6749/tokens.py b/oauthlib/oauth2/rfc6749/tokens.py
index 44a9a97..7973923 100644
--- a/oauthlib/oauth2/rfc6749/tokens.py
+++ b/oauthlib/oauth2/rfc6749/tokens.py
@@ -306,8 +306,8 @@ class BearerToken(TokenBase):
:param refresh_token:
"""
if "save_token" in kwargs:
- warnings.warn("`save_token` has been deprecated, it was not used internally."
- "If you do, use `request_validator.save_token()` instead.",
+ warnings.warn("`save_token` has been deprecated, it was not called internally."
+ "If you do, call `request_validator.save_token()` instead.",
DeprecationWarning)
if callable(self.expires_in):