diff options
author | Dave Peticolas <dave@krondo.com> | 2011-06-27 20:53:01 -0700 |
---|---|---|
committer | Dave Peticolas <dave@krondo.com> | 2011-06-27 20:53:01 -0700 |
commit | 0df2c578656ca862f9f576792326f66814926910 (patch) | |
tree | 245b91e190985d4097bf5176034c507295a9c989 | |
parent | 61f630f93788de936e62de6a006865e6f3f74b64 (diff) | |
download | redis-py-0df2c578656ca862f9f576792326f66814926910.tar.gz |
Provide WatchError in the top-level module.
-rw-r--r-- | redis/__init__.py | 3 |
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', ] |