summaryrefslogtreecommitdiff
path: root/redis/client.py
diff options
context:
space:
mode:
authorHomer Strong <homer.strong@gmail.com>2011-08-03 09:33:37 -0700
committerHomer Strong <homer.strong@gmail.com>2011-08-03 09:33:37 -0700
commitd30ef6f73a9df3fd0dee5ad3a5f7a25c6a8091b5 (patch)
treef72f9d01e20beabe5ff716ab9f4247f159dfba57 /redis/client.py
parentabbb3219aeba0ef977264575870fc69f32aa90df (diff)
downloadredis-py-d30ef6f73a9df3fd0dee5ad3a5f7a25c6a8091b5.tar.gz
SADD also returns int
Diffstat (limited to 'redis/client.py')
-rw-r--r--redis/client.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/redis/client.py b/redis/client.py
index 0decef7..296f743 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 ZREM',
+ 'PERSIST RENAMENX SISMEMBER SMOVE SETEX SETNX SREM ZREM',
bool
),
string_keys_to_dict(
'DECRBY GETBIT HLEN INCRBY LINSERT LLEN LPUSHX RPUSHX SCARD'
'SDIFFSTORE SETBIT SETRANGE SINTERSTORE STRLEN SUNIONSTORE ZCARD '
- 'ZREMRANGEBYRANK ZREMRANGEBYSCORE ZADD',
+ 'ZREMRANGEBYRANK ZREMRANGEBYSCORE ZADD SADD',
int
),
string_keys_to_dict(