summaryrefslogtreecommitdiff
path: root/redis/connection.py
diff options
context:
space:
mode:
authorandy <andy@whiskeymedia.com>2013-06-04 17:23:50 -0400
committerandy <andy@whiskeymedia.com>2013-06-04 17:23:50 -0400
commit5e30cd66fabe06b67298c4946b412a0f08fdab5c (patch)
treeedaa2ba95b9b5d943b6e489a4cb5a3cc99718edd /redis/connection.py
parent4b0e43eedc457b7f3c41885427c3fc5bd4ade7d1 (diff)
parentbb16aaf35d15d20c6ae2f3bbfa0d8a3cd1664548 (diff)
downloadredis-py-5e30cd66fabe06b67298c4946b412a0f08fdab5c.tar.gz
Merge branch 'master' into pytest
Diffstat (limited to 'redis/connection.py')
-rw-r--r--redis/connection.py3
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,
}