From dcb524ea16087a8fd77c702a457e7f24d33899c9 Mon Sep 17 00:00:00 2001 From: Andy McCurdy Date: Thu, 14 Aug 2014 10:28:39 -0700 Subject: [PATCH] pep8 --- redis/connection.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/redis/connection.py b/redis/connection.py index 4c8b68130c..1169595bee 100755 --- a/redis/connection.py +++ b/redis/connection.py @@ -348,7 +348,8 @@ def read_response(self): # proactively, but not conclusively, check if more data is in the # buffer. if the data received doesn't end with \r\n, there's more. if HIREDIS_USE_BYTE_BUFFER: - if bufflen > 2 and self._buffer[bufflen - 2:bufflen] != SYM_CRLF: + if bufflen > 2 and \ + self._buffer[bufflen - 2:bufflen] != SYM_CRLF: continue else: if not buffer.endswith(SYM_CRLF):