summaryrefslogtreecommitdiff
path: root/kafka/consumer/fetcher.py
diff options
context:
space:
mode:
authorDana Powers <dana.powers@rd.io>2016-01-03 16:09:52 -0800
committerDana Powers <dana.powers@rd.io>2016-01-03 16:09:52 -0800
commit71af307f4e350a0e3ef21a6c986ebebb6717dc15 (patch)
tree515b1f1f6109a1d87333b4ce22a920fb52984e84 /kafka/consumer/fetcher.py
parent16c56235d2fa1a9b63a38bd01aeb28be9aaa2405 (diff)
downloadkafka-python-71af307f4e350a0e3ef21a6c986ebebb6717dc15.tar.gz
Disable pylint error on __iter__ (next is provided via six.Iterator)
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 8f25561..1593018 100644
--- a/kafka/consumer/fetcher.py
+++ b/kafka/consumer/fetcher.py
@@ -377,7 +377,7 @@ class Fetcher(six.Iterator):
# fetch multiple partitions in bulk when they are on the same broker
self.init_fetches()
- def __iter__(self):
+ def __iter__(self): # pylint: disable=non-iterator-returned
return self
def __next__(self):