]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
Correct the typo %{edge_id)s
authorYangLei <yanglyy@cn.ibm.com>
Wed, 9 Oct 2013 09:46:35 +0000 (17:46 +0800)
committerYangLei <yanglyy@cn.ibm.com>
Thu, 10 Oct 2013 09:45:12 +0000 (17:45 +0800)
Use %(edge_id)s instead of %{edge_id)s.

Fixes bug #1237888

Change-Id: Id8376ff8ec50e3022f9aca9b8954d8044d849f64
(cherry picked from commit f13106d73fe6d628339d541f905ff5cfa5c264e8)

neutron/plugins/nicira/vshield/edge_appliance_driver.py

index 00e61d78d3aeec0531c1a6f0aa507f796c15d254..6ea6c4bde3f03db8f7712d1490839e4c6579d2b9 100644 (file)
@@ -287,7 +287,7 @@ class EdgeApplianceDriver(object):
             except exceptions.ResourceNotFound:
                 pass
             except exceptions.VcnsApiException as e:
-                msg = _("VCNS: Failed to delete %{edge_id)s:\n"
+                msg = _("VCNS: Failed to delete %(edge_id)s:\n"
                         "%(response)s") % {
                             'edge_id': edge_id, 'response': e.response}
                 LOG.exception(msg)