summaryrefslogtreecommitdiff
path: root/kafka/protocol.py
diff options
context:
space:
mode:
authorDavid Arthur <mumrah@gmail.com>2013-09-24 21:18:55 -0400
committerDavid Arthur <mumrah@gmail.com>2013-09-24 21:20:00 -0400
commitc0d2cac66940bf477c008e65c9d2bbcd79f030a0 (patch)
treeee5dc075a7d9ec86633bf4e0076a522e70da0ab4 /kafka/protocol.py
parent9af7b817c17a8d8c08e60607f117c8ac46668eda (diff)
downloadkafka-python-c0d2cac66940bf477c008e65c9d2bbcd79f030a0.tar.gz
Fix #44 Add missing exception classv0.8.0
Also move the exceptions to common instead of util
Diffstat (limited to 'kafka/protocol.py')
-rw-r--r--kafka/protocol.py6
1 files changed, 3 insertions, 3 deletions
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")