summaryrefslogtreecommitdiff
path: root/redis/connection.py
diff options
context:
space:
mode:
Diffstat (limited to 'redis/connection.py')
-rw-r--r--redis/connection.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/redis/connection.py b/redis/connection.py
index d005430..2b48e32 100644
--- a/redis/connection.py
+++ b/redis/connection.py
@@ -57,7 +57,7 @@ class PythonParser(object):
length = int(response)
if length == -1:
return None
- response = length and self.read(length) or ''
+ response = self.read(length)
return response
# multi-bulk response
elif byte == '*':