summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJamie Lennox <jamielennox@gmail.com>2015-11-11 10:51:42 +1100
committerJamie Lennox <jamielennox@gmail.com>2015-11-19 13:35:18 +1100
commitbdd44d314217cfc834505404b8583289c22e9e9d (patch)
tree0ee01579ab26bd6b82a245ccfd12462897920203 /doc
parent4a070903d29aca07a8d19b59bb20818d1c759c44 (diff)
downloadpython-keystoneclient-bdd44d314217cfc834505404b8583289c22e9e9d.tar.gz
Map keystoneclient exceptions to keystoneauth
To allow people to use a keystoneauth session with keystoneclient we need to make it so that any exceptions that keystoneclient catch are the same as what keystoneauth might throw. The only practical way to do this is to map the keystoneclient exceptions onto the keystoneauth equivalents. This is fairly easy as all these exceptions were extracted from keystoneclient initially. Closes-Bug: #1515048 Change-Id: I3b74b0ba1e1f9dda937a2d90e2d75ff0b7597a9b
Diffstat (limited to 'doc')
-rw-r--r--doc/source/conf.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/source/conf.py b/doc/source/conf.py
index 593d7e2..9f05b9d 100644
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -224,7 +224,9 @@ latex_documents = [
# If false, no module index is generated.
#latex_use_modindex = True
+keystoneauth_url = 'http://docs.openstack.org/developer/keystoneauth/'
intersphinx_mapping = {
'python': ('http://docs.python.org/', None),
'osloconfig': ('http://docs.openstack.org/developer/oslo.config/', None),
+ 'keystoneauth1': (keystoneauth_url, None),
}