diff options
author | Jeff Widman <jeff@jeffwidman.com> | 2018-11-13 11:57:45 -0800 |
---|---|---|
committer | Jeff Widman <jeff@jeffwidman.com> | 2018-11-17 16:38:01 -0800 |
commit | 8eb26b6420a358dc10af7e58d270fae690e07fdf (patch) | |
tree | 2d1b7f3e0744e80b7757182c0e978ccd20814d52 /kafka/client_async.py | |
parent | 7bd6b5da6d402565f25fce9e710be26b2d4cc125 (diff) | |
download | kafka-python-use-explicit-tuples-for-strings.tar.gz |
Be explicit with tuples for %s formattinguse-explicit-tuples-for-strings
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) |