summaryrefslogtreecommitdiff
path: root/kafka/record/_crc32c.py
diff options
context:
space:
mode:
Diffstat (limited to 'kafka/record/_crc32c.py')
-rw-r--r--kafka/record/_crc32c.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/kafka/record/_crc32c.py b/kafka/record/_crc32c.py
index 9db2d89..ecff48f 100644
--- a/kafka/record/_crc32c.py
+++ b/kafka/record/_crc32c.py
@@ -139,5 +139,7 @@ def crc(data):
if __name__ == "__main__":
import sys
- data = sys.stdin.read()
+ # TODO remove the pylint disable once pylint fixes
+ # https://github.com/PyCQA/pylint/issues/2571
+ data = sys.stdin.read() # pylint: disable=assignment-from-no-return
print(hex(crc(data)))