diff options
author | Jeff Widman <jeff@jeffwidman.com> | 2017-12-08 16:17:10 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-08 16:17:10 -0800 |
commit | 04fb37f690df5d887f9f191dc4d07408307c8207 (patch) | |
tree | 68d0cbe6f890c2af296df123096e65ea83bf9d98 | |
parent | 92376cbe8004d2ae6e468a70bc268e420531e72e (diff) | |
download | kafka-python-04fb37f690df5d887f9f191dc4d07408307c8207.tar.gz |
Followup cleanup to #1304
https://github.com/dpkp/kafka-python/pull/1304/files#r155842880
-rw-r--r-- | kafka/util.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/kafka/util.py b/kafka/util.py index 385fd56..181f67f 100644 --- a/kafka/util.py +++ b/kafka/util.py @@ -25,8 +25,7 @@ if six.PY3: crc -= TO_SIGNED return crc else: - def crc32(data): - return binascii.crc32(data) + from binascii import crc32 def write_int_string(s): |