summaryrefslogtreecommitdiffstats
path: root/openstack
diff options
context:
space:
mode:
authorJoe Gordon <jogo@cloudscaling.com>2013-05-15 14:43:33 -0700
committerJoe Gordon <joe.gordon0@gmail.com>2013-05-20 18:57:30 -0700
commit0a14e1d0c448475773861d5aec9ed62385f6903c (patch)
tree8a5452bccf5787f0f2b35f1532ad0599062a0b76 /openstack
parentc6a9dfdb43081588b347b2f6e355bf057b71b4bd (diff)
downloadoslo-0a14e1d0c448475773861d5aec9ed62385f6903c.tar.gz
oslo-0a14e1d0c448475773861d5aec9ed62385f6903c.tar.xz
oslo-0a14e1d0c448475773861d5aec9ed62385f6903c.zip
Enable hacking H703: Multiple positional placeholders
Fix and enable test for multiple positional placeholders in localizations Change-Id: Ie3b5e3113cd0f3340b7b0f5774001893b1e6857c
Diffstat (limited to 'openstack')
-rw-r--r--openstack/common/rpc/amqp.py5
1 files changed, 3 insertions, 2 deletions
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)