diff options
author | Konstantin Merenkov <kmerenkov@gmail.com> | 2010-05-22 03:03:43 +0800 |
---|---|---|
committer | Andy McCurdy <andy@andymccurdy.com> | 2010-06-02 01:43:39 +0800 |
commit | b686c967e71e3b406f2af4f36744a5258ceca8bb (patch) | |
tree | 7f259be826c16c9021c7a39fbc3d64b4fea4dcda /redis/client.py | |
parent | 7e8ec2e28d636fb878617f1d0788973aaffd309c (diff) | |
download | redis-py-b686c967e71e3b406f2af4f36744a5258ceca8bb.tar.gz |
BLPOP / BRPOP return tuple instead of a list, as it makes more sense
Diffstat (limited to 'redis/client.py')
-rw-r--r-- | redis/client.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/redis/client.py b/redis/client.py index 85be36c..0841c04 100644 --- a/redis/client.py +++ b/redis/client.py @@ -222,6 +222,7 @@ class Redis(threading.local): 'SAVE SELECT SET SHUTDOWN', lambda r: r == 'OK' ), + string_keys_to_dict('BLPOP BRPOP', lambda r: r and tuple(r) or None), string_keys_to_dict('SDIFF SINTER SMEMBERS SUNION', lambda r: set(r) ), |