summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVetoshkin Nikita <nekto0n@yandex-team.ru>2013-10-03 18:08:51 +0400
committerDavid Arthur <mumrah@gmail.com>2013-10-03 19:37:14 -0400
commit3a56dfd624591e5690069db8ade55bc66c804c57 (patch)
tree79b0d5b1ad2692b4f2324c6f79255aaba93a5db8
parent8b05e6240bfce76868d2126aad75b78af1a17c60 (diff)
downloadkafka-python-3a56dfd624591e5690069db8ade55bc66c804c57.tar.gz
style: fix camelCase variable names once more
-rw-r--r--kafka/conn.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/kafka/conn.py b/kafka/conn.py
index c41c08d..764cbf6 100644
--- a/kafka/conn.py
+++ b/kafka/conn.py
@@ -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 == "":