diff options
author | Marek Denis <marek.denis@cern.ch> | 2014-10-15 13:34:19 +0200 |
---|---|---|
committer | Marek Denis <marek.denis@cern.ch> | 2014-10-15 13:34:19 +0200 |
commit | 8b267842a701970d4e1aae2f115afe4d73bc5ee6 (patch) | |
tree | 7e0d3a9c40a97c0da81f6312434aa11f74c243cd /keystoneclient/access.py | |
parent | 89dc951f7d5a603f0c34b7c2cb9f7d26d73d9916 (diff) | |
download | python-keystoneclient-8b267842a701970d4e1aae2f115afe4d73bc5ee6.tar.gz |
Docstrings should have :returns: everywhere.
Some of the docstrings have ``:return:`` instead of ``:returns:``
keyword. This patch fixes that and make it consistent.
Change-Id: I4321a63798ab9e2abdf0bbd716bf2b995be22ba3
Diffstat (limited to 'keystoneclient/access.py')
-rw-r--r-- | keystoneclient/access.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/keystoneclient/access.py b/keystoneclient/access.py index 1f2affa..2dda12a 100644 --- a/keystoneclient/access.py +++ b/keystoneclient/access.py @@ -83,7 +83,7 @@ class AccessInfo(dict): def will_expire_soon(self, stale_duration=None): """Determines if expiration is about to occur. - :return: boolean : true if expiration is within the given duration + :returns: boolean : true if expiration is within the given duration """ stale_duration = (STALE_TOKEN_DURATION if stale_duration is None @@ -100,7 +100,7 @@ class AccessInfo(dict): """Determines if processing v2 or v3 token given a successful auth body or a user-provided dict. - :return: boolean : true if auth body matches implementing class + :returns: boolean : true if auth body matches implementing class """ raise NotImplementedError() |