From 1cb732aba10e82232197e19fd84a79cbab6214c6 Mon Sep 17 00:00:00 2001 From: Dana Powers Date: Thu, 10 Dec 2015 17:48:12 -0800 Subject: pylint fixes - temporarily ignore kafka/consumer/group.py - temporarily ignore test/test_protocol.py - disable-msg deprecated; use disable= instead --- kafka/protocol/struct.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kafka/protocol/struct.py') 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])) -- cgit v1.2.1