diff options
author | Samuel de Medeiros Queiroz <samueldmq@gmail.com> | 2015-12-03 15:03:52 -0300 |
---|---|---|
committer | Samuel de Medeiros Queiroz <samueldmq@gmail.com> | 2015-12-03 15:06:56 -0300 |
commit | e64a1b5891a5413efbf954c9e5bab2888fcac86a (patch) | |
tree | d9d1e51742cd40f17f2373e5e63cacc3f94fdad6 /keystone/endpoint_policy | |
parent | 8dd27d3368ce0aa396386010f6aec5ed6304d687 (diff) | |
download | keystone-e64a1b5891a5413efbf954c9e5bab2888fcac86a.tar.gz |
Remove exposure of routers at package level
Keystone API routers are exposed at their package
level (in __init__.py files). This causes them to
be unnecessarily executed each time something
whithin that package is used.
For example, simply importing
keystone.federation.constants would make the
federation routers code to be executed.
This patch remove routers exposure from package
level and import them directly in services.py,
which is the single place that needs them.
Change-Id: If68184c871ac77659ad2e64aa5f0aafac7a4bf70
Diffstat (limited to 'keystone/endpoint_policy')
-rw-r--r-- | keystone/endpoint_policy/__init__.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/keystone/endpoint_policy/__init__.py b/keystone/endpoint_policy/__init__.py index c8ae5e68b..36c016a13 100644 --- a/keystone/endpoint_policy/__init__.py +++ b/keystone/endpoint_policy/__init__.py @@ -11,4 +11,3 @@ # under the License. from keystone.endpoint_policy.core import * # noqa -from keystone.endpoint_policy import routers # noqa |