From c0d2cac66940bf477c008e65c9d2bbcd79f030a0 Mon Sep 17 00:00:00 2001 From: David Arthur Date: Tue, 24 Sep 2013 21:18:55 -0400 Subject: Fix #44 Add missing exception class Also move the exceptions to common instead of util --- kafka/protocol.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'kafka/protocol.py') diff --git a/kafka/protocol.py b/kafka/protocol.py index f985479..c2b017e 100644 --- a/kafka/protocol.py +++ b/kafka/protocol.py @@ -8,12 +8,12 @@ from kafka.codec import ( from kafka.common import ( BrokerMetadata, PartitionMetadata, Message, OffsetAndMessage, ProduceResponse, FetchResponse, OffsetResponse, - OffsetCommitResponse, OffsetFetchResponse + OffsetCommitResponse, OffsetFetchResponse, + BufferUnderflowError, ChecksumError, ConsumerFetchSizeTooSmall ) from kafka.util import ( read_short_string, read_int_string, relative_unpack, - write_short_string, write_int_string, group_by_topic_and_partition, - BufferUnderflowError, ChecksumError, ConsumerFetchSizeTooSmall + write_short_string, write_int_string, group_by_topic_and_partition ) log = logging.getLogger("kafka") -- cgit v1.2.1