diff options
author | Jeff Widman <jeff@jeffwidman.com> | 2018-11-13 11:57:45 -0800 |
---|---|---|
committer | Jeff Widman <jeff@jeffwidman.com> | 2018-11-18 00:21:18 -0800 |
commit | 1d443638e22c2d360086b8d7cee8b5d930741d12 (patch) | |
tree | 9e60f53f4a791b306acd6f1a2223557ead1ed750 /kafka/client_async.py | |
parent | f3105a434f3bd2fb3f8899e4861e187e786b03da (diff) | |
download | kafka-python-1d443638e22c2d360086b8d7cee8b5d930741d12.tar.gz |
Be explicit with tuples for %s formatting
Fix #1633
Diffstat (limited to 'kafka/client_async.py')
-rw-r--r-- | kafka/client_async.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kafka/client_async.py b/kafka/client_async.py index bf395c5..cf57ef9 100644 --- a/kafka/client_async.py +++ b/kafka/client_async.py @@ -355,7 +355,7 @@ class KafkaClient(object): conn = self._conns.get(node_id) if conn is None: - assert broker, 'Broker id %s not in current metadata' % node_id + assert broker, 'Broker id %s not in current metadata' % (node_id,) log.debug("Initiating connection to node %s at %s:%s", node_id, broker.host, broker.port) |