Skip to content
Browse files

ZADD returns int, instead of bool

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

0 comments on commit abbb321

Please sign in to comment.
Something went wrong with that request. Please try again.