diff options
author | Pieter Noordhuis <pcnoordhuis@gmail.com> | 2011-01-30 17:56:14 +0100 |
---|---|---|
committer | Pieter Noordhuis <pcnoordhuis@gmail.com> | 2011-01-30 17:56:14 +0100 |
commit | f848cbfdcb808805f110c88df16068f59918fad8 (patch) | |
tree | 9d3ad58dd912cea32988f06cf083a3c99bb1012e /redis/connection.py | |
parent | 0d804601255f93356b217ea690a0dc672033ac4a (diff) | |
download | redis-py-f848cbfdcb808805f110c88df16068f59918fad8.tar.gz |
Integer replies may be of type long
Diffstat (limited to 'redis/connection.py')
-rw-r--r-- | redis/connection.py | 2 |
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) |