We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6efab69 commit e128e46Copy full SHA for e128e46
kafka/record/_crc32c.py
@@ -139,7 +139,5 @@ def crc(data):
139
140
if __name__ == "__main__":
141
import sys
142
- # TODO remove the pylint disable once pylint fixes
143
- # https://github.com/PyCQA/pylint/issues/2571
144
- data = sys.stdin.read() # pylint: disable=assignment-from-no-return
+ data = sys.stdin.buffer.read() # pylint: disable=assignment-from-no-return
145
print(hex(crc(data)))
0 commit comments