e64a1b5891
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
17 lines
685 B
Python
17 lines
685 B
Python
# Copyright 2013 OpenStack Foundation
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
|
# not use this file except in compliance with the License. You may obtain
|
|
# a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
|
# License for the specific language governing permissions and limitations
|
|
# under the License.
|
|
|
|
from keystone.credential import controllers # noqa
|
|
from keystone.credential.core import * # noqa
|