summaryrefslogtreecommitdiff
path: root/kafka/protocol/struct.py
diff options
context:
space:
mode:
authorDana Powers <dana.powers@rd.io>2015-12-10 17:48:12 -0800
committerDana Powers <dana.powers@rd.io>2015-12-10 18:37:03 -0800
commit1cb732aba10e82232197e19fd84a79cbab6214c6 (patch)
treec1b25c926d6a9ef48c647efd9167c621c297a20d /kafka/protocol/struct.py
parent5cf60f4482852220efa5f727b45617ee3b7ad773 (diff)
downloadkafka-python-1cb732aba10e82232197e19fd84a79cbab6214c6.tar.gz
pylint fixes
- temporarily ignore kafka/consumer/group.py - temporarily ignore test/test_protocol.py - disable-msg deprecated; use disable= instead
Diffstat (limited to 'kafka/protocol/struct.py')
-rw-r--r--kafka/protocol/struct.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/kafka/protocol/struct.py b/kafka/protocol/struct.py
index 5b4c312..d340abf 100644
--- a/kafka/protocol/struct.py
+++ b/kafka/protocol/struct.py
@@ -21,7 +21,7 @@ class Struct(AbstractType):
self.encode = self._encode_self
@classmethod
- def encode(cls, item): # pylint: disable-msg=E0202
+ def encode(cls, item): # pylint: disable=E0202
bits = []
for i, field in enumerate(cls.SCHEMA.fields):
bits.append(field.encode(item[i]))