diff options
author | Vetoshkin Nikita <nekto0n@yandex-team.ru> | 2013-10-03 18:08:51 +0400 |
---|---|---|
committer | David Arthur <mumrah@gmail.com> | 2013-10-03 19:37:14 -0400 |
commit | 3a56dfd624591e5690069db8ade55bc66c804c57 (patch) | |
tree | 79b0d5b1ad2692b4f2324c6f79255aaba93a5db8 /kafka/conn.py | |
parent | 8b05e6240bfce76868d2126aad75b78af1a17c60 (diff) | |
download | kafka-python-3a56dfd624591e5690069db8ade55bc66c804c57.tar.gz |
style: fix camelCase variable names once more
Diffstat (limited to 'kafka/conn.py')
-rw-r--r-- | kafka/conn.py | 6 |
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 == "": |