summaryrefslogtreecommitdiff
path: root/keystoneclient/access.py
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2014-12-02 01:46:24 +0000
committerGerrit Code Review <review@openstack.org>2014-12-02 01:46:24 +0000
commit41afe3c963fa01f61b67c44e572eee34b0972382 (patch)
tree0b01d3b087879c6a1135420df4040d7f67e3a9f1 /keystoneclient/access.py
parent4a49d970b06068b1ef26e7cc1f7dab3984da2ed4 (diff)
parent3f1ba9f007528a7ddad7cb53ef75f7bb1026a4d1 (diff)
downloadpython-keystoneclient-41afe3c963fa01f61b67c44e572eee34b0972382.tar.gz
Merge "Docstring cleanup for return type"
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 6786674..8d85c68 100644
--- a/keystoneclient/access.py
+++ b/keystoneclient/access.py
@@ -85,7 +85,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
@@ -102,7 +103,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()