summaryrefslogtreecommitdiff
path: root/redis/client.py
diff options
context:
space:
mode:
authorHomer Strong <homer.strong@gmail.com>2011-08-03 09:26:55 -0700
committerHomer Strong <homer.strong@gmail.com>2011-08-03 09:30:22 -0700
commitabbb3219aeba0ef977264575870fc69f32aa90df (patch)
tree3973b03518e137ea7e5228f15e184551810dd9ea /redis/client.py
parent4dc130c8d6fd58e4bfa0107f0451003b50d29118 (diff)
downloadredis-py-abbb3219aeba0ef977264575870fc69f32aa90df.tar.gz
ZADD returns int, instead of bool
Diffstat (limited to 'redis/client.py')
-rw-r--r--redis/client.py6
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(