style: fix camelCase variable names once more
This commit is contained in:
committed by
David Arthur
parent
8b05e6240b
commit
3a56dfd624
@@ -53,12 +53,12 @@ class KafkaConnection(local):
|
||||
raise Exception("Got no response from Kafka")
|
||||
(size,) = struct.unpack('>i', resp)
|
||||
|
||||
messageSize = size - 4
|
||||
log.debug("About to read %d bytes from Kafka", messageSize)
|
||||
messagesize = size - 4
|
||||
log.debug("About to read %d bytes from Kafka", messagesize)
|
||||
|
||||
# Read the remainder of the response
|
||||
total = 0
|
||||
while total < messageSize:
|
||||
while total < messagesize:
|
||||
resp = self._sock.recv(self.bufsize)
|
||||
log.debug("Read %d bytes from Kafka", len(resp))
|
||||
if resp == "":
|
||||
|
||||
Reference in New Issue
Block a user