Use international logging message
Change-Id: I688ae251a909682dd206a5f27b250e398643db4f
This commit is contained in:
parent
cdd8f24250
commit
8a069c066b
|
@ -692,7 +692,7 @@ class Manager(manager.Manager):
|
||||||
ref_results.append(implied_ref)
|
ref_results.append(implied_ref)
|
||||||
role_refs_to_check.append(implied_ref)
|
role_refs_to_check.append(implied_ref)
|
||||||
except exception.NotImplemented:
|
except exception.NotImplemented:
|
||||||
LOG.error('Role driver does not support implied roles.')
|
LOG.error(_LE('Role driver does not support implied roles.'))
|
||||||
|
|
||||||
return ref_results
|
return ref_results
|
||||||
|
|
||||||
|
|
|
@ -17,6 +17,7 @@ import sqlalchemy as sql
|
||||||
|
|
||||||
from keystone.assignment.backends import sql as assignment_sql
|
from keystone.assignment.backends import sql as assignment_sql
|
||||||
from keystone.common import sql as ks_sql
|
from keystone.common import sql as ks_sql
|
||||||
|
from keystone.i18n import _LE
|
||||||
from keystone.identity.mapping_backends import mapping as mapping_backend
|
from keystone.identity.mapping_backends import mapping as mapping_backend
|
||||||
|
|
||||||
|
|
||||||
|
@ -244,7 +245,7 @@ def upgrade(migrate_engine):
|
||||||
try:
|
try:
|
||||||
table.create()
|
table.create()
|
||||||
except Exception:
|
except Exception:
|
||||||
LOG.exception('Exception while creating table: %r', table)
|
LOG.exception(_LE('Exception while creating table: %r'), table)
|
||||||
raise
|
raise
|
||||||
|
|
||||||
# Unique Constraints
|
# Unique Constraints
|
||||||
|
|
Loading…
Reference in New Issue