Merge "Fix missing print format and missing ws between words"

This commit is contained in:
Zuul 2019-08-09 11:59:57 +00:00 committed by Gerrit Code Review
commit f850095710
2 changed files with 3 additions and 3 deletions

View File

@ -31,7 +31,7 @@ class SimpleCertCAResource(flask_restful.Resource):
@ks_flask.unenforced_api
def get(self):
raise exception.Gone(
message=_('This API is no longer available due to the removal'
message=_('This API is no longer available due to the removal '
'of support for PKI tokens.'))
@ -39,7 +39,7 @@ class SimpleCertListResource(flask_restful.Resource):
@ks_flask.unenforced_api
def get(self):
raise exception.Gone(
message=_('This API is no longer available due to the removal'
message=_('This API is no longer available due to the removal '
'of support for PKI tokens.'))

View File

@ -1316,7 +1316,7 @@ class BaseLdap(object):
if len(id_list) > 1:
message = ('In order to keep backward compatibility, in '
'the case of multivalued ids, we are '
'returning the first id %(id_attr) in the '
'returning the first id %(id_attr)s in the '
'DN.') % ({'id_attr': id_list[0]})
LOG.warning(message)
return id_list[0]