summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy McCurdy <andy@andymccurdy.com>2011-06-27 22:02:50 -0700
committerAndy McCurdy <andy@andymccurdy.com>2011-06-27 22:02:50 -0700
commit850d5cc78e227bb14feddf633d8a5bb85ce786f6 (patch)
tree245b91e190985d4097bf5176034c507295a9c989
parent61f630f93788de936e62de6a006865e6f3f74b64 (diff)
parent0df2c578656ca862f9f576792326f66814926910 (diff)
downloadredis-py-850d5cc78e227bb14feddf633d8a5bb85ce786f6.tar.gz
Merge pull request #150 from jdavisp3/watch-error-2011-06-27
Provide WatchError in the top-level module.
-rw-r--r--redis/__init__.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/redis/__init__.py b/redis/__init__.py
index 897ebb1..a80b526 100644
--- a/redis/__init__.py
+++ b/redis/__init__.py
@@ -12,6 +12,7 @@ from redis.exceptions import (
PubSubError,
RedisError,
ResponseError,
+ WatchError,
)
@@ -21,5 +22,5 @@ VERSION = tuple(map(int, __version__.split('.')))
__all__ = [
'Redis', 'ConnectionPool', 'Connection', 'UnixDomainSocketConnection',
'RedisError', 'ConnectionError', 'ResponseError', 'AuthenticationError',
- 'InvalidResponse', 'DataError', 'PubSubError',
+ 'InvalidResponse', 'DataError', 'PubSubError', 'WatchError',
]