diff options
author | Andy McCurdy <andy@andymccurdy.com> | 2013-06-04 14:12:21 -0700 |
---|---|---|
committer | Andy McCurdy <andy@andymccurdy.com> | 2013-06-04 14:12:21 -0700 |
commit | bb16aaf35d15d20c6ae2f3bbfa0d8a3cd1664548 (patch) | |
tree | 161eae2214b14f1c31f88fe6bbc7288384c46946 /redis/connection.py | |
parent | 5f10d8dde27cd3eaa0c99299afdfb61d5cd6a9e9 (diff) | |
parent | 96b4e3d9de929fb43877e0c148455c6216e70056 (diff) | |
download | redis-py-bb16aaf35d15d20c6ae2f3bbfa0d8a3cd1664548.tar.gz |
Merge pull request #351 from yossigo/busy-loading
Add BusyLoadingError exception.
Diffstat (limited to 'redis/connection.py')
-rw-r--r-- | redis/connection.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/redis/connection.py b/redis/connection.py index e138d4c..343c838 100644 --- a/redis/connection.py +++ b/redis/connection.py @@ -9,6 +9,7 @@ from redis._compat import (b, xrange, imap, byte_to_chr, unicode, bytes, long, from redis.exceptions import ( RedisError, ConnectionError, + BusyLoadingError, ResponseError, InvalidResponse, AuthenticationError, @@ -37,7 +38,7 @@ class PythonParser(object): EXCEPTION_CLASSES = { 'ERR': ResponseError, 'EXECABORT': ExecAbortError, - 'LOADING': ConnectionError, + 'LOADING': BusyLoadingError, 'NOSCRIPT': NoScriptError, } |