diff options
author | Ronnie Kolehmainen <ronnie@esn.me> | 2013-01-25 14:58:17 +0100 |
---|---|---|
committer | Ronnie Kolehmainen <ronnie@esn.me> | 2013-01-25 14:58:17 +0100 |
commit | fcac7dd29b1188b03900e6cb90bbc284e0a7085c (patch) | |
tree | 296013302a091c5bbeff543f714c6deacebcd716 /redis/client.py | |
parent | d9080116d2eaac7162533eff5721e933a1c5431d (diff) | |
download | redis-py-fcac7dd29b1188b03900e6cb90bbc284e0a7085c.tar.gz |
Switched callback for SREM from bool to int.
Diffstat (limited to 'redis/client.py')
-rw-r--r-- | redis/client.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/redis/client.py b/redis/client.py index 4a5e8df..22da950 100644 --- a/redis/client.py +++ b/redis/client.py @@ -183,12 +183,12 @@ class StrictRedis(object): RESPONSE_CALLBACKS = dict_merge( string_keys_to_dict( 'AUTH DEL EXISTS EXPIRE EXPIREAT HDEL HEXISTS HMSET MOVE MSETNX ' - 'PERSIST RENAMENX SISMEMBER SMOVE SETEX SETNX SREM ZREM', + 'PERSIST RENAMENX SISMEMBER SMOVE SETEX SETNX ZREM', bool ), string_keys_to_dict( 'BITCOUNT DECRBY GETBIT HLEN INCRBY LINSERT LLEN LPUSHX RPUSHX ' - 'SADD SCARD SDIFFSTORE SETBIT SETRANGE SINTERSTORE STRLEN ' + 'SADD SCARD SDIFFSTORE SETBIT SETRANGE SINTERSTORE SREM STRLEN ' 'SUNIONSTORE ZADD ZCARD ZREMRANGEBYRANK ZREMRANGEBYSCORE', int ), |