summaryrefslogtreecommitdiff
path: root/keystoneclient/access.py
diff options
context:
space:
mode:
authorBrant Knudson <bknudson@us.ibm.com>2014-10-12 19:11:39 -0500
committerBrant Knudson <bknudson@us.ibm.com>2014-10-15 12:24:52 -0500
commit3f1ba9f007528a7ddad7cb53ef75f7bb1026a4d1 (patch)
treee0f520f36ec6312e0cf3b3f417fcb197ebb1e490 /keystoneclient/access.py
parent8b267842a701970d4e1aae2f115afe4d73bc5ee6 (diff)
downloadpython-keystoneclient-3f1ba9f007528a7ddad7cb53ef75f7bb1026a4d1.tar.gz
Docstring cleanup for return type
The :returns: directive doesn't take an argument. To specify the return type, use the :rtype: directive. Change-Id: I3aaab824792333b3f75a10af92f5b712cc9b4ff6
Diffstat (limited to 'keystoneclient/access.py')
-rw-r--r--keystoneclient/access.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/keystoneclient/access.py b/keystoneclient/access.py
index 2dda12a..95a041e 100644
--- a/keystoneclient/access.py
+++ b/keystoneclient/access.py
@@ -83,7 +83,8 @@ class AccessInfo(dict):
def will_expire_soon(self, stale_duration=None):
"""Determines if expiration is about to occur.
- :returns: boolean : true if expiration is within the given duration
+ :returns: true if expiration is within the given duration
+ :rtype: boolean
"""
stale_duration = (STALE_TOKEN_DURATION if stale_duration is None
@@ -100,7 +101,8 @@ class AccessInfo(dict):
"""Determines if processing v2 or v3 token given a successful
auth body or a user-provided dict.
- :returns: boolean : true if auth body matches implementing class
+ :returns: true if auth body matches implementing class
+ :rtype: boolean
"""
raise NotImplementedError()