Fix missing print format and missing ws between words
This is to fix: 1. missing print format 2. missing ws between words in log messages Change-Id: Iff9cd6c076388e347eb27f317157c6f7239e05bf
This commit is contained in:
parent
73045dfbca
commit
5d4bf308c4
|
@ -31,7 +31,7 @@ class SimpleCertCAResource(flask_restful.Resource):
|
||||||
@ks_flask.unenforced_api
|
@ks_flask.unenforced_api
|
||||||
def get(self):
|
def get(self):
|
||||||
raise exception.Gone(
|
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.'))
|
'of support for PKI tokens.'))
|
||||||
|
|
||||||
|
|
||||||
|
@ -39,7 +39,7 @@ class SimpleCertListResource(flask_restful.Resource):
|
||||||
@ks_flask.unenforced_api
|
@ks_flask.unenforced_api
|
||||||
def get(self):
|
def get(self):
|
||||||
raise exception.Gone(
|
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.'))
|
'of support for PKI tokens.'))
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1316,7 +1316,7 @@ class BaseLdap(object):
|
||||||
if len(id_list) > 1:
|
if len(id_list) > 1:
|
||||||
message = ('In order to keep backward compatibility, in '
|
message = ('In order to keep backward compatibility, in '
|
||||||
'the case of multivalued ids, we are '
|
'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]})
|
'DN.') % ({'id_attr': id_list[0]})
|
||||||
LOG.warning(message)
|
LOG.warning(message)
|
||||||
return id_list[0]
|
return id_list[0]
|
||||||
|
|
Loading…
Reference in New Issue