diff options
author | Zack Dever <zack.dever@rd.io> | 2015-12-03 17:46:08 -0800 |
---|---|---|
committer | Zack Dever <zack.dever@rd.io> | 2015-12-04 11:25:40 -0800 |
commit | efc3d4f466c0d6630c9fff09fb1b90035c5351d7 (patch) | |
tree | 9d04082b0150024aafdaea93dd157ec71b944510 /kafka/protocol/struct.py | |
parent | 5d87a5edb411f9553b8a7b1f76130aadb37ac77d (diff) | |
download | kafka-python-efc3d4f466c0d6630c9fff09fb1b90035c5351d7.tar.gz |
few small cleanups
Diffstat (limited to 'kafka/protocol/struct.py')
-rw-r--r-- | kafka/protocol/struct.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kafka/protocol/struct.py b/kafka/protocol/struct.py index 30e233c..5b4c312 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): + def encode(cls, item): # pylint: disable-msg=E0202 bits = [] for i, field in enumerate(cls.SCHEMA.fields): bits.append(field.encode(item[i])) |