Skip to content

Commit 3a56dfd

Browse files
Vetoshkin Nikitamumrah
authored andcommitted
style: fix camelCase variable names once more
1 parent 8b05e62 commit 3a56dfd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

kafka/conn.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,12 @@ def _consume_response_iter(self):
5353
raise Exception("Got no response from Kafka")
5454
(size,) = struct.unpack('>i', resp)
5555

56-
messageSize = size - 4
57-
log.debug("About to read %d bytes from Kafka", messageSize)
56+
messagesize = size - 4
57+
log.debug("About to read %d bytes from Kafka", messagesize)
5858

5959
# Read the remainder of the response
6060
total = 0
61-
while total < messageSize:
61+
while total < messagesize:
6262
resp = self._sock.recv(self.bufsize)
6363
log.debug("Read %d bytes from Kafka", len(resp))
6464
if resp == "":

0 commit comments

Comments
 (0)