diff options
-rw-r--r-- | openstack/common/rpc/amqp.py | 5 | ||||
-rw-r--r-- | tox.ini | 2 |
2 files changed, 4 insertions, 3 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) @@ -17,7 +17,7 @@ commands = [flake8] show-source = True -ignore = H201,H202,H302,H304,H306,H401,H402,H403,H404,H702,H703 +ignore = H201,H202,H302,H304,H306,H401,H402,H403,H404,H702 exclude = .venv,.tox,dist,doc,*.egg,.update-venv [testenv:pep8] |