]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
Fixing some typos found during translation
authorGabriel Wainer <gabrielcw@gmail.com>
Tue, 30 Jul 2013 00:55:06 +0000 (21:55 -0300)
committerGabriel Wainer <gabrielcw@gmail.com>
Tue, 30 Jul 2013 10:16:22 +0000 (07:16 -0300)
Change-Id: Ic0e9ea6aa84c30996b29dce3bfa06b443e9adcc4

neutron/plugins/midonet/midonet_lib.py
neutron/plugins/nicira/extensions/nvp_qos.py
neutron/plugins/nicira/nvplib.py
neutron/policy.py

index a9133900e9c7c9982b10ae543daa090863dc660c..5989f982af72d0b4fd4386aeac26ce51408d0138 100644 (file)
@@ -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)
index ade87a5ac7316be61d517ff75abf03c1cdbfed9e..27aea5e51a63228df2550d273400916c43587e7f 100644 (file)
@@ -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):
index 7d35d2c9716c48097dcdf5d1f0ab40babfa8430d..47a500170d911d02995f8695a6512cd2024b58ac 100644 (file)
@@ -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
 
index f22894de16db952cc29f5447c20f9a0804121c88..2d25a8d7756a142714d7b20dd52f1f8207fcf7c8 100644 (file)
@@ -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 %%(<field_name>)s"),
+                            "match should be in the form %%(<field_name>)s") %
                           match)
             LOG.exception(err_reason)
             raise exceptions.PolicyInitError(