From 57011b901f0c26c840c207e007e392ba9ff5890b Mon Sep 17 00:00:00 2001 From: Li Ma Date: Sun, 13 Jul 2014 01:51:38 -0700 Subject: [PATCH] Fix a log typo in ML2 manager.bind_port() Change-Id: I43134ef4a9e01aac1967fb7b69ad36f96cde04c0 --- neutron/plugins/ml2/managers.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/neutron/plugins/ml2/managers.py b/neutron/plugins/ml2/managers.py index 13df6732e2f..7e0bfc91745 100644 --- a/neutron/plugins/ml2/managers.py +++ b/neutron/plugins/ml2/managers.py @@ -444,8 +444,8 @@ class MechanismManager(stevedore.named.NamedExtensionManager): attempt to establish a port binding. """ binding = context._binding - LOG.debug(_("Attempting to bind port %(port)s on host %(host)s " - "for vnic_type %(vnic_type)s with profile %(profile)s"), + LOG.debug("Attempting to bind port %(port)s on host %(host)s " + "for vnic_type %(vnic_type)s with profile %(profile)s", {'port': context._port['id'], 'host': binding.host, 'vnic_type': binding.vnic_type, @@ -455,12 +455,12 @@ class MechanismManager(stevedore.named.NamedExtensionManager): driver.obj.bind_port(context) if binding.segment: binding.driver = driver.name - LOG.debug(_("Bound port: %(port)s, host: %(host)s, " - "vnic_type: %(vnic_type)s, " - "profile: %(profile)s" - "driver: %(driver)s, vif_type: %(vif_type)s, " - "vif_details: %(vif_details)s, " - "segment: %(segment)s"), + LOG.debug("Bound port: %(port)s, host: %(host)s, " + "vnic_type: %(vnic_type)s, " + "profile: %(profile)s, " + "driver: %(driver)s, vif_type: %(vif_type)s, " + "vif_details: %(vif_details)s, " + "segment: %(segment)s", {'port': context._port['id'], 'host': binding.host, 'vnic_type': binding.vnic_type,