Skip to content

Commit e87cdde

Browse files
Vetoshkin Nikitamumrah
authored andcommitted
style: fix whitespaces
1 parent f833050 commit e87cdde

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

kafka/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class KafkaClient(object):
2222

2323
def __init__(self, host, port, bufsize=4096, client_id=CLIENT_ID):
2424
# We need one connection to bootstrap
25-
self.bufsize = bufsize
25+
self.bufsize = bufsize
2626
self.client_id = client_id
2727
self.conns = { # (host, port) -> KafkaConnection
2828
(host, port): KafkaConnection(host, port, bufsize)

kafka/common.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,14 +69,18 @@ class ErrorMapping(object):
6969
# Exceptions #
7070
#################
7171

72+
7273
class BufferUnderflowError(Exception):
7374
pass
7475

76+
7577
class ChecksumError(Exception):
7678
pass
7779

80+
7881
class ConsumerFetchSizeTooSmall(Exception):
7982
pass
8083

84+
8185
class ConsumerNoMoreData(Exception):
8286
pass

kafka/conn.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,10 @@
33
import struct
44
from threading import local
55

6+
67
log = logging.getLogger("kafka")
78

9+
810
class KafkaConnection(local):
911
"""
1012
A socket connection to a single Kafka broker

0 commit comments

Comments
 (0)