Permalink
Browse files

SADD also returns int

  • Loading branch information...
strongh committed Aug 3, 2011
1 parent abbb321 commit d30ef6f73a9df3fd0dee5ad3a5f7a25c6a8091b5
Showing with 2 additions and 2 deletions.
  1. +2 −2 redis/client.py
View
@@ -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(

0 comments on commit d30ef6f

Please sign in to comment.