summaryrefslogtreecommitdiff
path: root/keystoneclient/discover.py
diff options
context:
space:
mode:
authorBrant Knudson <bknudson@us.ibm.com>2014-10-12 19:41:38 -0500
committerBrant Knudson <bknudson@us.ibm.com>2014-10-18 17:59:08 -0500
commit14a6d80116c5d9410d1c52bee833beb10837df28 (patch)
tree00c93bc0b0566ec25b7577062c3198e9209eb9fa /keystoneclient/discover.py
parent8b267842a701970d4e1aae2f115afe4d73bc5ee6 (diff)
downloadpython-keystoneclient-14a6d80116c5d9410d1c52bee833beb10837df28.tar.gz
Cleanup docs - raises class
The argument to the :raises: directive is the class name. If the class name is a valid reference it's rendered as a link to the class. This change cleans up the :raises: directives to use the reference correctly and use a valid class reference. Change-Id: I84188b60de0ab4c6b5b2fb5a203c43bfde094707
Diffstat (limited to 'keystoneclient/discover.py')
-rw-r--r--keystoneclient/discover.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/keystoneclient/discover.py b/keystoneclient/discover.py
index 982683a..99a7a7d 100644
--- a/keystoneclient/discover.py
+++ b/keystoneclient/discover.py
@@ -261,8 +261,10 @@ class Discover(_discover.Discover):
:returns: An instantiated identity client object.
- :raises: DiscoveryFailure if the server response is invalid
- :raises: VersionNotAvailable if a suitable client cannot be found.
+ :raises keystoneclient.exceptions.DiscoveryFailure: if the server
+ response is invalid
+ :raises keystoneclient.exceptions.VersionNotAvailable: if a suitable
+ client cannot be found.
"""
version_data = self._calculate_version(version, unstable)
return self._create_client(version_data, **kwargs)