style: fix whitespaces

This commit is contained in:
Vetoshkin Nikita
2013-10-03 17:56:29 +04:00
committed by David Arthur
parent f833050f0a
commit e87cddef1b
3 changed files with 7 additions and 1 deletions

View File

@@ -69,14 +69,18 @@ class ErrorMapping(object):
# Exceptions #
#################
class BufferUnderflowError(Exception):
pass
class ChecksumError(Exception):
pass
class ConsumerFetchSizeTooSmall(Exception):
pass
class ConsumerNoMoreData(Exception):
pass

View File

@@ -3,8 +3,10 @@ import socket
import struct
from threading import local
log = logging.getLogger("kafka")
class KafkaConnection(local):
"""
A socket connection to a single Kafka broker