diff options
author | Andy McCurdy <andy@andymccurdy.com> | 2011-10-06 14:58:48 -0700 |
---|---|---|
committer | Andy McCurdy <andy@andymccurdy.com> | 2011-10-06 14:58:48 -0700 |
commit | 45932cdfd3aedc703704d63db7ee7fc04aaf132f (patch) | |
tree | 063b88332e2f6234518fc36135e87d509f3d9e5b /redis/client.py | |
parent | 71f3acac70b8c966252d94fa1f102e2045d1b294 (diff) | |
parent | d30ef6f73a9df3fd0dee5ad3a5f7a25c6a8091b5 (diff) | |
download | redis-py-45932cdfd3aedc703704d63db7ee7fc04aaf132f.tar.gz |
Merge pull request #175 from strongh/master
ZADD and SADD return integers
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 1c1301f..ebf9608 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 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 SADD', int ), string_keys_to_dict( |