From 9d8b41e7808721a0b13ab99e4bdd45a35776af6d Mon Sep 17 00:00:00 2001 From: Gary Kotton Date: Thu, 18 Feb 2016 06:50:00 -0800 Subject: [PATCH] Security group: use correct logging format Commit ef29f7eb9a2a37133eacdb7f019b48ec3f9a42c3 added a warning that is not in the standard format. This patch fixes that and also tweaks the indentation. TrivialFix Change-Id: Ib1fb1688b9421b27d2dec27017ab9f3fdc158497 --- neutron/agent/securitygroups_rpc.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/neutron/agent/securitygroups_rpc.py b/neutron/agent/securitygroups_rpc.py index 26bbbbf5763..2f2a8b386b5 100644 --- a/neutron/agent/securitygroups_rpc.py +++ b/neutron/agent/securitygroups_rpc.py @@ -104,11 +104,11 @@ class SecurityGroupAgentRpc(object): self.firewall = firewall_class( integration_bridge=integration_bridge) except TypeError as e: - LOG.warning(_LW("Firewall driver {fw_driver} doesn't accept " + LOG.warning(_LW("Firewall driver %(fw_driver)s doesn't accept " "integration_bridge parameter in __init__(): " - "{err}"), - fw_driver=firewall_driver, - err=e) + "%(err)s"), + {'fw_driver': firewall_driver, + 'err': e}) self.firewall = firewall_class() # The following flag will be set to true if port filter must not be # applied as soon as a rule or membership notification is received