From bcbc0c4e9af01009dd1750aa7d939e2489ddeb73 Mon Sep 17 00:00:00 2001 From: Dana Powers Date: Sun, 17 Jul 2016 10:44:32 -0700 Subject: Explicit format string argument indices for python 2.6 compatibility --- kafka/client_async.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kafka/client_async.py') diff --git a/kafka/client_async.py b/kafka/client_async.py index 9439451..c081f07 100644 --- a/kafka/client_async.py +++ b/kafka/client_async.py @@ -147,7 +147,7 @@ class KafkaClient(object): if self.config['api_version'] is not None: assert self.config['api_version'] in self.API_VERSIONS, ( - 'api_version [{}] must be one of: {}'.format( + 'api_version [{0}] must be one of: {1}'.format( self.config['api_version'], str(self.API_VERSIONS))) self.cluster = ClusterMetadata(**self.config) -- cgit v1.2.1