summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2013-05-21 16:54:19 +0000
committerGerrit Code Review <review@openstack.org>2013-05-21 16:54:19 +0000
commit144c1a7228dd61bfad58069cf885e4ddf0eeb171 (patch)
treebdcc1ba5a1ff70db58ac5ee2fe8f51dbafc23e9b
parente88313f5a53d47a2116ad2ed952cef180f87fd19 (diff)
parentfe2f1081eb215fba6a205891ddf67c6ff9e7a288 (diff)
Merge "Enable hacking H702 localization test"
-rw-r--r--openstack/common/rpc/matchmaker.py3
-rw-r--r--tox.ini2
2 files changed, 3 insertions, 2 deletions
diff --git a/openstack/common/rpc/matchmaker.py b/openstack/common/rpc/matchmaker.py
index 8072023..fd10f27 100644
--- a/openstack/common/rpc/matchmaker.py
+++ b/openstack/common/rpc/matchmaker.py
@@ -230,7 +230,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):
"""
diff --git a/tox.ini b/tox.ini
index 6efa07d..3a33326 100644
--- a/tox.ini
+++ b/tox.ini
@@ -17,7 +17,7 @@ commands =
[flake8]
show-source = True
-ignore = H201,H202,H302,H304,H306,H401,H402,H403,H404,H702
+ignore = H201,H202,H302,H304,H306,H401,H402,H403,H404
exclude = .venv,.tox,dist,doc,*.egg,.update-venv
[testenv:pep8]