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 c2e38b140d..2979ab82af 100755 --- a/magnum/common/exception.py +++ b/magnum/common/exception.py @@ -390,7 +390,7 @@ 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',