diff options
author | twidi <s.angel@twidi.com> | 2010-06-21 04:53:35 +0800 |
---|---|---|
committer | Andy McCurdy <andy@andymccurdy.com> | 2010-06-22 06:15:01 +0800 |
commit | 91441933d3333528f2749a888e2c5db6106493fc (patch) | |
tree | a0b2ddd173b0628a4b69fec610d8799d396d1d0b /redis/client.py | |
parent | 2c2fc553d1cdb0db6fbc5fdc8bd7e8a36b821df7 (diff) | |
download | redis-py-91441933d3333528f2749a888e2c5db6106493fc.tar.gz |
add psubscribe and punsubscribe to subscription commands
Diffstat (limited to 'redis/client.py')
-rw-r--r-- | redis/client.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/redis/client.py b/redis/client.py index b4864b5..c560507 100644 --- a/redis/client.py +++ b/redis/client.py @@ -242,7 +242,7 @@ class Redis(threading.local): ) # commands that should NOT pull data off the network buffer when executed - SUBSCRIPTION_COMMANDS = set(['SUBSCRIBE', 'UNSUBSCRIBE']) + SUBSCRIPTION_COMMANDS = set(['SUBSCRIBE', 'UNSUBSCRIBE', 'PSUBSCRIBE', 'PUNSUBSCRIBE']) def __init__(self, host='localhost', port=6379, db=0, password=None, socket_timeout=None, |