Skip to content

Commit 04fb37f

Browse files
authored
1 parent 92376cb commit 04fb37f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

kafka/util.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,7 @@ def crc32(data):
2525
crc -= TO_SIGNED
2626
return crc
2727
else:
28-
def crc32(data):
29-
return binascii.crc32(data)
28+
from binascii import crc32
3029

3130

3231
def write_int_string(s):

0 commit comments

Comments
 (0)