From bdd44d314217cfc834505404b8583289c22e9e9d Mon Sep 17 00:00:00 2001 From: Jamie Lennox Date: Wed, 11 Nov 2015 10:51:42 +1100 Subject: 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 --- doc/source/conf.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'doc') 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), } -- cgit v1.2.1