Add missing ws seperator between words

This is to add missing ws seperator between words, usually
in log messages.

Change-Id: I2b7a752c19a37bba06cf13b6119939ce6c755835
This commit is contained in:
zhufl 2018-11-19 15:13:57 +08:00
parent 6bb6c0bbdd
commit ca89a614c3
2 changed files with 2 additions and 2 deletions

View File

@ -76,7 +76,7 @@ def create_resource_class(req):
except exception.MaxDBRetriesExceeded:
raise webob.exc.HTTPConflict(
_('Max retries of DB transaction exceeded attempting '
'to create resource class: %(name)s, please'
'to create resource class: %(name)s, please '
'try again.') %
{'name': data['name']})

View File

@ -3669,7 +3669,7 @@ def _get_traits_by_provider_tree(ctx, root_ids):
:param root_ids: list of root resource provider IDs
"""
if not root_ids:
raise ValueError(_("Expected root_ids to be a list of root resource"
raise ValueError(_("Expected root_ids to be a list of root resource "
"provider internal IDs, but got an empty list."))
rpt = sa.alias(_RP_TBL, name='rpt')