From fe2f1081eb215fba6a205891ddf67c6ff9e7a288 Mon Sep 17 00:00:00 2001 From: Joe Gordon Date: Wed, 15 May 2013 14:46:52 -0700 Subject: Enable hacking H702 localization test Fix and enable test for 'formatting operation should be outside of localization method call' Change-Id: I0e707f9d4aacf75f9a9239b323a57d7d39f30c84 --- openstack/common/rpc/matchmaker.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'openstack') diff --git a/openstack/common/rpc/matchmaker.py b/openstack/common/rpc/matchmaker.py index 3d72ae7..223e970 100644 --- a/openstack/common/rpc/matchmaker.py +++ b/openstack/common/rpc/matchmaker.py @@ -236,7 +236,8 @@ class HeartbeatMatchMakerBase(MatchMakerBase): self.hosts.discard(host) self.backend_unregister(key, '.'.join((key, host))) - LOG.info(_("Matchmaker unregistered: %s, %s" % (key, host))) + LOG.info(_("Matchmaker unregistered: %(key)s, %(host)s"), + {'key': key, 'host': host}) def start_heartbeat(self): """ -- cgit