From 0a14e1d0c448475773861d5aec9ed62385f6903c Mon Sep 17 00:00:00 2001 From: Joe Gordon Date: Wed, 15 May 2013 14:43:33 -0700 Subject: Enable hacking H703: Multiple positional placeholders Fix and enable test for multiple positional placeholders in localizations Change-Id: Ie3b5e3113cd0f3340b7b0f5774001893b1e6857c --- openstack/common/rpc/amqp.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'openstack/common') diff --git a/openstack/common/rpc/amqp.py b/openstack/common/rpc/amqp.py index dc9aadb..946501b 100644 --- a/openstack/common/rpc/amqp.py +++ b/openstack/common/rpc/amqp.py @@ -197,8 +197,9 @@ class ReplyProxy(ConnectionContext): msg_id = message_data.pop('_msg_id', None) waiter = self._call_waiters.get(msg_id) if not waiter: - LOG.warn(_('no calling threads waiting for msg_id : %s' - ', message : %s') % (msg_id, message_data)) + LOG.warn(_('no calling threads waiting for msg_id : %(msg_id)s' + ', message : %(data)s'), {'msg_id': msg_id, + 'data': message_data}) else: waiter.put(message_data) -- cgit