pep8 whitespace changes
These changes are little things I found while transitioning the code to work on Python3. Change-Id: Id67a29dfc7546c5594f579ab4f512d1d0f39e4fa
This commit is contained in:
parent
dbb87bdea7
commit
be1778a72a
|
@ -21,6 +21,7 @@ import six
|
|||
from keystone.common import dependency
|
||||
from keystone import exception
|
||||
|
||||
|
||||
CONF = cfg.CONF
|
||||
LOG = log.getLogger(__name__)
|
||||
|
||||
|
|
|
@ -20,6 +20,7 @@ from keystone.common import dependency
|
|||
from keystone import exception
|
||||
from keystone.i18n import _
|
||||
|
||||
|
||||
METHOD_NAME = 'password'
|
||||
|
||||
LOG = log.getLogger(__name__)
|
||||
|
|
|
@ -17,6 +17,7 @@ import os
|
|||
|
||||
from oslo_log import log
|
||||
|
||||
|
||||
LOG = log.getLogger(__name__)
|
||||
|
||||
|
||||
|
|
|
@ -29,6 +29,7 @@ from keystone import exception
|
|||
from keystone.i18n import _
|
||||
from keystone.i18n import _LW
|
||||
|
||||
|
||||
LOG = log.getLogger(__name__)
|
||||
|
||||
LDAP_VALUES = {'TRUE': True, 'FALSE': False}
|
||||
|
|
|
@ -12,7 +12,6 @@
|
|||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
|
||||
"""
|
||||
PEM formatted data is used frequently in conjunction with X509 PKI as
|
||||
a data exchange mechanism for binary data. The acronym PEM stands for
|
||||
|
|
|
@ -14,6 +14,7 @@
|
|||
|
||||
import sqlalchemy as sql
|
||||
|
||||
|
||||
_REGION_TABLE_NAME = 'region'
|
||||
|
||||
|
||||
|
|
|
@ -12,7 +12,6 @@
|
|||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
|
||||
"""Migrated the endpoint 'region' column to 'region_id.
|
||||
|
||||
In addition to the rename, the new column is made a foreign key to the
|
||||
|
|
|
@ -14,6 +14,7 @@
|
|||
|
||||
import sqlalchemy as sql
|
||||
|
||||
|
||||
ASSIGNMENT_TABLE = 'assignment'
|
||||
|
||||
|
||||
|
|
|
@ -14,6 +14,7 @@ import sqlalchemy as sql
|
|||
|
||||
from keystone.common.sql import migration_helpers
|
||||
|
||||
|
||||
_PROJECT_TABLE_NAME = 'project'
|
||||
_PARENT_ID_COLUMN_NAME = 'parent_id'
|
||||
|
||||
|
|
|
@ -12,6 +12,7 @@
|
|||
|
||||
import sqlalchemy as sql
|
||||
|
||||
|
||||
_REGION_TABLE_NAME = 'region'
|
||||
|
||||
|
||||
|
|
|
@ -14,6 +14,7 @@ import sqlalchemy as sql
|
|||
|
||||
from keystone.common import sql as ks_sql
|
||||
|
||||
|
||||
WHITELIST_TABLE = 'whitelisted_config'
|
||||
SENSITIVE_TABLE = 'sensitive_config'
|
||||
|
||||
|
|
|
@ -20,6 +20,7 @@ from keystone.catalog import core as catalog_core
|
|||
from keystone.common import dependency
|
||||
from keystone import exception
|
||||
|
||||
|
||||
CONF = cfg.CONF
|
||||
|
||||
|
||||
|
|
|
@ -23,6 +23,7 @@ from keystone.common import manager
|
|||
from keystone import exception
|
||||
from keystone.i18n import _, _LE, _LW
|
||||
|
||||
|
||||
CONF = cfg.CONF
|
||||
LOG = log.getLogger(__name__)
|
||||
|
||||
|
|
|
@ -32,6 +32,7 @@ from keystone.common import wsgi
|
|||
from keystone.contrib.ec2 import controllers
|
||||
from keystone import exception
|
||||
|
||||
|
||||
EXTENSION_DATA = {
|
||||
'name': 'OpenStack S3 API',
|
||||
'namespace': 'http://docs.openstack.org/identity/api/ext/'
|
||||
|
|
|
@ -23,6 +23,7 @@ from keystone.common import dependency
|
|||
from keystone.common import manager
|
||||
from keystone import exception
|
||||
|
||||
|
||||
CONF = cfg.CONF
|
||||
|
||||
|
||||
|
|
|
@ -25,6 +25,7 @@ from keystone.i18n import _LW
|
|||
from keystone.models import token_model
|
||||
from keystone.openstack.common import versionutils
|
||||
|
||||
|
||||
CONF = cfg.CONF
|
||||
LOG = log.getLogger(__name__)
|
||||
|
||||
|
|
|
@ -28,6 +28,7 @@ from keystone.tests import unit as tests
|
|||
from keystone.tests.unit import default_fixtures
|
||||
from keystone.tests.unit import fakeldap
|
||||
|
||||
|
||||
CONF = cfg.CONF
|
||||
|
||||
|
||||
|
|
|
@ -25,6 +25,7 @@ from keystone import resource
|
|||
from keystone.tests import unit as tests
|
||||
from keystone.tests.unit.ksfixtures import database
|
||||
|
||||
|
||||
CONF = cfg.CONF
|
||||
|
||||
|
||||
|
|
|
@ -28,6 +28,7 @@ from keystone.common.kvs import core
|
|||
from keystone import exception
|
||||
from keystone.tests import unit as tests
|
||||
|
||||
|
||||
NO_VALUE = api.NO_VALUE
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue