summaryrefslogtreecommitdiff
path: root/kafka/consumer/fetcher.py
diff options
context:
space:
mode:
authorDana Powers <dana.powers@gmail.com>2016-07-17 10:44:32 -0700
committerDana Powers <dana.powers@gmail.com>2016-07-17 10:44:32 -0700
commitbcbc0c4e9af01009dd1750aa7d939e2489ddeb73 (patch)
tree4cad18d967147f0abb37114515d966e3e8d797f4 /kafka/consumer/fetcher.py
parent87648d74f49dafb6146bb61c40d8d2d44146ff8b (diff)
downloadkafka-python-bcbc0c4e9af01009dd1750aa7d939e2489ddeb73.tar.gz
Explicit format string argument indices for python 2.6 compatibility
Diffstat (limited to 'kafka/consumer/fetcher.py')
-rw-r--r--kafka/consumer/fetcher.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/kafka/consumer/fetcher.py b/kafka/consumer/fetcher.py
index d615848..11cd7ef 100644
--- a/kafka/consumer/fetcher.py
+++ b/kafka/consumer/fetcher.py
@@ -400,7 +400,7 @@ class Fetcher(six.Iterator):
inner_timestamp = msg.timestamp
else:
- raise ValueError('Unknown timestamp type: {}'.format(msg.timestamp_type))
+ raise ValueError('Unknown timestamp type: {0}'.format(msg.timestamp_type))
else:
inner_timestamp = msg.timestamp