diff options
author | Homer Strong <homer.strong@gmail.com> | 2011-08-03 09:26:55 -0700 |
---|---|---|
committer | Homer Strong <homer.strong@gmail.com> | 2011-08-03 09:30:22 -0700 |
commit | abbb3219aeba0ef977264575870fc69f32aa90df (patch) | |
tree | 3973b03518e137ea7e5228f15e184551810dd9ea /redis/client.py | |
parent | 4dc130c8d6fd58e4bfa0107f0451003b50d29118 (diff) | |
download | redis-py-abbb3219aeba0ef977264575870fc69f32aa90df.tar.gz |
ZADD returns int, instead of bool
Diffstat (limited to 'redis/client.py')
-rw-r--r-- | redis/client.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/redis/client.py b/redis/client.py index 1aac82b..0decef7 100644 --- a/redis/client.py +++ b/redis/client.py @@ -115,13 +115,13 @@ class StrictRedis(object): RESPONSE_CALLBACKS = dict_merge( string_keys_to_dict( 'AUTH DEL EXISTS EXPIRE EXPIREAT HDEL HEXISTS HMSET MOVE MSETNX ' - 'PERSIST RENAMENX SADD SISMEMBER SMOVE SETEX SETNX SREM ZADD ZREM', + 'PERSIST RENAMENX SADD SISMEMBER SMOVE SETEX SETNX SREM ZREM', bool ), string_keys_to_dict( - 'DECRBY GETBIT HLEN INCRBY LINSERT LLEN LPUSHX RPUSHX SCARD ' + 'DECRBY GETBIT HLEN INCRBY LINSERT LLEN LPUSHX RPUSHX SCARD' 'SDIFFSTORE SETBIT SETRANGE SINTERSTORE STRLEN SUNIONSTORE ZCARD ' - 'ZREMRANGEBYRANK ZREMRANGEBYSCORE', + 'ZREMRANGEBYRANK ZREMRANGEBYSCORE ZADD', int ), string_keys_to_dict( |