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 d178452..3f65ccd 100644
--- a/redis/connection.py
+++ b/redis/connection.py
@@ -124,7 +124,7 @@ class PythonConnection(BaseConnection):
return response
# int value
elif byte == ':':
- return int(response)
+ return long(response)
# bulk response
elif byte == '$':
length = int(response)