diff --git a/neutron/plugins/midonet/midonet_lib.py b/neutron/plugins/midonet/midonet_lib.py index a9133900e9..5989f982af 100644 --- a/neutron/plugins/midonet/midonet_lib.py +++ b/neutron/plugins/midonet/midonet_lib.py @@ -274,8 +274,8 @@ class MidoClient: :returns: newly created router """ LOG.debug(_("MidoClient.create_tenant_router called: " - "tenant_id=%(tenant_id)s, name=%(name)s" - "metadata_router=%(metadata_router)s"), + "tenant_id=%(tenant_id)s, name=%(name)s," + " metadata_router=%(metadata_router)s"), {'tenant_id': tenant_id, 'name': name, 'metadata_router': metadata_router}) router = self.create_router(tenant_id, name) diff --git a/neutron/plugins/nicira/extensions/nvp_qos.py b/neutron/plugins/nicira/extensions/nvp_qos.py index ade87a5ac7..27aea5e51a 100644 --- a/neutron/plugins/nicira/extensions/nvp_qos.py +++ b/neutron/plugins/nicira/extensions/nvp_qos.py @@ -44,7 +44,7 @@ class DefaultQueueAlreadyExists(qexception.InUse): class QueueInvalidDscp(qexception.InvalidInput): message = _("Invalid value for dscp %(data)s must be integer value" - "between 0 and 63.") + " between 0 and 63.") class QueueMinGreaterMax(qexception.InvalidInput): diff --git a/neutron/plugins/nicira/nvplib.py b/neutron/plugins/nicira/nvplib.py index 7d35d2c971..47a500170d 100644 --- a/neutron/plugins/nicira/nvplib.py +++ b/neutron/plugins/nicira/nvplib.py @@ -503,8 +503,8 @@ def update_explicit_routes_lrouter(cluster, router_id, routes): added_routes.append(uuid) except NvpApiClient.NvpApiException: LOG.exception(_('Cannot update NVP routes %(routes)s for' - 'router %(router_id)s') % {'routes': routes, - 'router_id': router_id}) + ' router %(router_id)s') % {'routes': routes, + 'router_id': router_id}) # Roll back to keep NVP in consistent state with excutils.save_and_reraise_exception(): if nvp_routes: @@ -746,7 +746,7 @@ def create_lport(cluster, lswitch_uuid, tenant_id, neutron_port_id, result = do_request(HTTP_POST, path, json.dumps(lport_obj), cluster=cluster) - LOG.debug(_("Created logical port %(result)s on logical swtich %(uuid)s"), + LOG.debug(_("Created logical port %(result)s on logical switch %(uuid)s"), {'result': result['uuid'], 'uuid': lswitch_uuid}) return result diff --git a/neutron/policy.py b/neutron/policy.py index f22894de16..2d25a8d775 100644 --- a/neutron/policy.py +++ b/neutron/policy.py @@ -214,7 +214,7 @@ class OwnerCheck(policy.Check): match)[0] except IndexError: err_reason = (_("Unable to identify a target field from:%s." - "match should be in the form %%()s"), + "match should be in the form %%()s") % match) LOG.exception(err_reason) raise exceptions.PolicyInitError(