From e0ed301869f4ebb57063dceaca60896948950174 Mon Sep 17 00:00:00 2001 From: zhufl Date: Wed, 21 Nov 2018 14:24:19 +0800 Subject: [PATCH] Add missing ws separator between words This is to add missing ws separator between words. Change-Id: I41f3fc9d8739111dae76c226801916294ba5ac46 --- magnum/api/utils.py | 2 +- magnum/common/exception.py | 2 +- magnum/common/urlfetch.py | 2 +- magnum/conf/trust.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/magnum/api/utils.py b/magnum/api/utils.py index bac3dbed5c..a3cc0443a1 100644 --- a/magnum/api/utils.py +++ b/magnum/api/utils.py @@ -64,7 +64,7 @@ def validate_docker_memory(mem_str): "[]," "where unit = b, k, m or g")) if mem < DOCKER_MINIMUM_MEMORY: - raise wsme.exc.ClientSideError(_("Docker Minimum memory limit" + raise wsme.exc.ClientSideError(_("Docker Minimum memory limit " "allowed is %d B.") % DOCKER_MINIMUM_MEMORY) diff --git a/magnum/common/exception.py b/magnum/common/exception.py index e4c77068fd..498a6b8a8f 100755 --- a/magnum/common/exception.py +++ b/magnum/common/exception.py @@ -389,5 +389,5 @@ class FederationAlreadyExists(Conflict): class MemberAlreadyExists(Conflict): - message = _("A cluster with UUID %(uuid)s is already a member of the" + message = _("A cluster with UUID %(uuid)s is already a member of the " "federation %(federation_name)s.") diff --git a/magnum/common/urlfetch.py b/magnum/common/urlfetch.py index b4b42e5e0f..d3cf0972cd 100755 --- a/magnum/common/urlfetch.py +++ b/magnum/common/urlfetch.py @@ -68,7 +68,7 @@ def get(url, allowed_schemes=('http', 'https')): for chunk in reader: result += chunk if len(result) > CONF.max_manifest_size: - raise URLFetchError("Manifest exceeds maximum allowed" + raise URLFetchError("Manifest exceeds maximum allowed " "size (%s bytes)" % CONF.max_manifest_size) return result diff --git a/magnum/conf/trust.py b/magnum/conf/trust.py index 07e174da8a..c16ec968e4 100644 --- a/magnum/conf/trust.py +++ b/magnum/conf/trust.py @@ -28,7 +28,7 @@ trust_opts = [ ' since the trust gives instances OpenStack API access' " to the cluster's project. Note that this setting" ' does not affect per-cluster trusts assigned to the' - 'Magnum service user.')), + ' Magnum service user.')), cfg.StrOpt('trustee_domain_id', help=_('Id of the domain to create trustee for clusters')), cfg.StrOpt('trustee_domain_name',